Aller au contenu principal

IsPlayerInDriveByMode

attention

La fonctionnalité de type fonction a été ajoutée dans la version omp v1.1.0.2612 et ne fonctionne pas avec les versions antérieures !

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
}