SetPlayerObjectPos

From SA-MP Wiki

Jump to: navigation, search

SetPlayerObjectPos


Moves an object to the specified position.


Parameters:
(playerid, objectid, Float:X, Float:Y, Float:Z)
playeridThe player you associated this object to.
objectidThis is the object ID (Not the Model ID).
Float:XThe X coordinate.
Float:YThe Y coordinate.
Float:ZThe Z coordinate.


This function does not return a specific value, it's best to simply ignore it.


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

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.


Personal tools