SetPlayerObjectRot

From SA-MP Wiki

Jump to: navigation, search


Rotates an object in all directions.


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


ReturnsThis function doesn't return a specific value


SetPlayerObjectRot( playerid, objectid, RotX, RotY, RotZ );

Related Functions

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


Personal tools