Wiki

Clone wiki

EFLC-MP LUA / getPlayerPos

Description

Gets the player position

Parameters

Int playerid
Int playerid: ID of the player

Return values

Float x, Float y, Float z

Example

local x, y, z = getPlayerPos(playerid)

Updated