SetObjectPos

From SA-MP Wiki

Revision as of 00:55, 4 September 2009; view current revision
←Older revision | Newer revision→
Jump to: navigation, search
Moves an Object to the specified position.


Parameters:
(objectid, Float:X, Float:Y, Float:Z)
objectidThe object to set the position of.
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.


SetObjectPos( 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