GetPlayerHeading: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
 
Line 16: Line 16:


{{RelatedFunctions}}
{{RelatedFunctions}}
{{PlayerFunctions}}
{{ServerPlayerFunctions}}

Latest revision as of 14:50, 26 June 2021

GetPlayerHeading

Type: Function
Context: Server & Client
Introduced: v1.0

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)

See also