SetPlayerFacingAngle
From SA-MP Wiki
SetPlayerFacingAngle
Set the currently facing angle for the player.
(playerid,Float:ang)
| playerid | The player you want to change the facing angle of. |
| Float:ang | The 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.
- GetPlayerFacingAngle: Check where a player is facing.
