GetPlayerHeading

From Onset Developer Wiki
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