15.11.2013, 20:02
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));