Hello,
Can you guys please help me with some bullet coding? I have the code here. The fact is, when i am moving the camera with my gun, the projectiles are not positioning correctly where i placed them to pop up from the gun. If i rotate 90 degrees, the projectile will not move where the gun is. I do really appreciate your help! Thank You ver much!
`glock bullet position
if glockrounds > 0
if mouseclick() = 1
bullposrelative = bullposrelative + 1
if bullposrelative = 2
position object 15, camera position x(0) + 15, camera position y(0) - 11, camera position z(0) + 15
rotate object 15, camera angle x(0), camera angle y(0), camera angle z(0)
show object 15
ENDIF
ENDIF
if mouseclick() = 0
bullposrelative = 0
ENDIF
ENDIF
Alex Matei CEO
www.alexmatei.com