SetObjectRot

From SA-MP Wiki

Revision as of 00:55, 4 September 2009; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

SetObjectRot


Rotates an object in all directions.


Parameters:
(objectid, Float:RotX, Float:RotY, Float:RotZ)
objectidThe objectid of the object you want to rotate.
Float:RotXThe X rotation.
Float:RotYThe Y rotation.
Float:RotZThe Z rotation.


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


SetObjectRot( objectid, RotX, RotY, RotZ );

Related Functions

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


Personal tools