SetPlayerHeading

From Onset Developer Wiki
Revision as of 11:19, 1 September 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetPlayerHeading

Type: Function
Context: Server
Introduced: v1.0

Description

Sets players heading (yaw rotation)

Syntax

SetPlayerHeading(player, heading)

Parameters

  • player
    Player you want to set heading of
  • heading
    Angle (0-360) you want to set players heading to

Return Value

  • Returns true.

Example

SetPlayerHeading(player, 95)

See also