13.01.2013, 19:03
pawn Код:
SetPlayerPos(playerid, (oldpos[0]+floatcos(Angle-94,degrees))+4.0, (oldpos[1]+floatsin(Angle-94,degrees))+4.0, oldpos[2]);// if press right
SetPlayerPos(playerid, (oldpos[0]+floatcos(Angle-94,degrees))-4.0, (oldpos[1]+floatsin(Angle-94,degrees))-4.0, oldpos[2]);// if press left