getEntityCoords

Gets the coordinates of a player's ped.

Parameters:

  • source (number): Player server ID

Returns:

  • vector3: Player coordinates

Example Use Case

local coords = ps.getEntityCoords(source)

Last updated