Preskoči na glavni sadržaj

IsPlayerRaceCheckpointActive

Upozorenje

Dodano u verziji omp v1.1.0.2612. Ova stavka ne radi u starijim verzijama. Vrsta: funkcija.

Description​

Check if the player currently has a race checkpoint visible.

NameDescription
playeridThe ID of the player to check.

Return Values​

Returns false if there is no race checkpoint currently shown, otherwise returns true

Examples​

public OnPlayerSpawn(playerid)
{
if (IsPlayerRaceCheckpointActive(playerid))
{
// Do something
}
}