GetPlayerHeading
From Onset Developer Wiki
Description
Get the specified player's heading (rotation).
Syntax
GetPlayerHeading(player)
Parameters
- player
The player identifier.
Return Value
- This function returns heading in float.
Example
local heading = GetPlayerHeading(playerId)