முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

GetPlayerObjectSyncRotation

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

Get the sync rotation of a player-object.

NameDescription
playeridThe ID of the player.
objectidThe ID of the player-object.

Returns​

Returns the sync rotation of the player-object as boolean (true/false).

Examples​

new objectid = CreatePlayerObject(...);
new parentid = CreatePlayerObject(...);
AttachPlayerObjectToObject(playerid, objectid, parentid, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, true);

new bool:syncRotation = GetPlayerObjectSyncRotation(playerid, objectid);
// syncRotation = true