GetPlayerHeading

From Onset Developer Wiki
Revision as of 14:50, 26 June 2021 by FlyingFork (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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