SetPlayerObjectRot

From SA-MP Wiki

Jump to: navigation, search

SetPlayerObjectRot


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.


This function does not return a specific value.


SetPlayerObjectRot( playerid, 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