SetPlayerHeading

From Onset Developer Wiki
Revision as of 19:59, 13 November 2019 by Kuzkay (talk | contribs)
SetPlayerHeading

Type: Function
Context: Server
Introduced: v1.0

Description

Sets players heading (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

  • __EDIT_ME__

Example

SetPlayerHeading(player, 95)


See also

__EDIT_ME__