Saltar al contenido principal

SetObjectPos

Description​

Change the position of an object.

NameDescription
objectidThe ID of the object to set the position of. Returned by CreateObject.
Float:xThe X coordinate to position the object at.
Float:yThe Y coordinate to position the object at.
Float:zThe Z coordinate to position the object at.

Returns​

This function always returns true, even if the object specified does not exist.

Examples​

SetObjectPos(objectid, 2001.195679, 1547.113892, 14.283400);