26.01.2010, 21:20
So this makes you turn by 90 degrees?
That will make them turn 90 degrees everytime.
pawn Код:
new Float:a;
GetPlayerFacingAngle(playerid,a);
a+=90;
if(a>=360)a-=360;
SetPlayerFacingAngle(playerid,a);