SetPlayerFacingAngle

From SA-MP Wiki

Jump to: navigation, search

SetPlayerFacingAngle


Set the currently facing angle for the player.


Parameters:
(playerid,Float:ang)
playeridThe player you want to change the facing angle of.
Float:angThe new player's facing angle.


This function does not return a specific value.


SetPlayerFacingAngle( playerid, 0 ); //Player faces north

       north (0)
          |
(90)west-   -east (270)      (Good way to remember: Never Eat Shredded Wheat)
          |
       south (180)

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools