Skip to main content

PlayerCreateXYZ

Description​

Creates a new Jimmy ped and assigns controls to it.
This will not update the gPlayer ped. Existing gPlayer peds need to be deleted first, for that.

function PlayerCreateXYZ(x, y, z) --[[ ... ]] end

Parameters​

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

Return Values​

...

Example​

...