SetPlayerObjectPos

From SA-MP Wiki

Jump to: navigation, search


Sets the position of an object to the specified coordinates.


Parameters:
(playerid, objectid, Float:X, Float:Y, Float:Z)
playeridThe ID of the player you associated this object to.
objectidThe ID of the object you want to set the position of.
Float:XThe X coordinate to put the object at.
Float:YThe Y coordinate to put the object at.
Float:ZThe Z coordinate to put the object at.


ReturnsThis function doesn't return a specific value


SetPlayerObjectPos(playerid, objectid, 2001.195679, 1547.113892, 14.283400);

Related Functions

The following functions may be useful, as they are related to this function in one way or another.


Personal tools