پرش به مطلب اصلی

GetPlayerObjectSyncRotation

هشدار

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

توضیحات

دریافت sync rotation یک player-object.

نامتوضیحات
playeridID بازیکن.
objectidID player-object.

مقادیر برگشتی

sync rotation player-object را به صورت boolean (true/false) برمی‌گرداند.

مثال‌ها

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

توابع مرتبط