Saltar al contenido principal

IsPlayerInDriveByMode

aviso

Este elemento (función) se añadió en omp v1.1.0.2612 y no funciona en versiones anteriores.

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
}