16.03.2013, 13:32
pawn Код:
new Float:x, Float:y, Float:z, Float:a;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, a);
SetPlayerPos(playerid, x-(DISTANCE_TO_MOVE*floatsin(a, degrees)), y+(DISTANCE_TO_MOVE*floatcos(a, degrees)), z);