Wiki

Clone wiki

EFLC-MP LUA / getPlayerHeading

Description

Gets the player heading (rotation/yaw)

Warning: this function is only available on Svr Build 11.2

Parameters

Int playerid
Int playerid: ID of the player

Return values

Float heading

Example

local h = getPlayerHeading(playerid)

Updated