IsPlayerInDriveByMode
ostrzeżenie
Dodano w wersji omp v1.1.0.2612. Wcześniejsze wersje nie obsługują tego elementu. Typ: funkcja.
Description
Check if the player is in driveby mode.
| Name | Description |
|---|---|
| playerid | The ID of the player to check. |
Returns
Returns true if the player is in driveby mode, otherwise false.
Examples
if (IsPlayerInDriveByMode(playerid))
{
// do something
}