Skip to main content

PedGetPosXYZ

Description

Returns the position of a given ped.

function PedGetPosXYZ(ped) --[[ ... ]] end

Parameters

  • ped: integer - The ped to get the position of.

Return Values

  • x: number - The X coordinate of the ped location.
  • y: number - The Y coordinate of the ped location.
  • z: number - The Z coordinate of the ped location.

Example

...

See Also