PedSetPosSimple
This function was added in DSL 5
Description
Moves a ped without moving the player.
Normally this is not needed and you can use PedSetPosXYZ unless you are moving a ped with the PLAYER1 faction.
function PedSetPosSimple(ped, x, y, z) --[[ ... ]] end
Parameters
ped:integer- The ped to move.x:number- The X coordinate to move the ped to.y:number- The Y coordinate to move the ped to.z:number- The Z coordinate to move the ped to.
Return Values
None.
Example
...