Passa al contenuto principale

IsPlayerInDriveByMode

Avviso

La funzione è stata aggiunta nella versione omp v1.1.0.2612 e non funziona nelle versioni precedenti!

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
}