إنتقل إلى المحتوى الرئيسي

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
}