ข้ามไปยังเนื้อหาหลัก

IsPlayerInDriveByMode

คำเตือน

ฟังก์ชันนี้ถูกเพิ่มใน omp v1.1.0.2612 และจะไม่ทำงานในเวอร์ชันก่อนหน้า!

Description​

Check if the player is in driveby mode.

NameDescription
playeridThe ID of the player to check.

Returns​

Returns true if the player is in driveby mode, otherwise false.

Examples​

if (IsPlayerInDriveByMode(playerid))
{
// do something
}