SetPlayerHeading

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