Vehicle shooter
#2

pawn Код:
new Float:x, Float:y, Float:z, Float:FacingA, Float:OffSet;

GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, FacingA);
x = (x + OffSet * floatsin(-FacingA,degrees));
y = (y + OffSet * floatcos(-FacingA,degrees));
Reply


Messages In This Thread
Vehicle shooter - by knackworst - 15.11.2013, 19:52
Re: Vehicle shooter - by Pottus - 15.11.2013, 20:02
AW: Vehicle shooter - by Nero_3D - 15.11.2013, 20:12
Re: Vehicle shooter - by knackworst - 15.11.2013, 20:16

Forum Jump:


Users browsing this thread: 1 Guest(s)