Ugrás a fő tartalomhoz

IsPlayerInRaceCheckpoint

Description

Check if the player is inside their current set race checkpoint (SetPlayerRaceCheckpoint).

NameDescription
playeridThe ID of the player to check.

Returns

true - Player is in a race checkpoint.

false - Player is not in a race checkpoint.

Examples

if (IsPlayerInRaceCheckpoint(playerid))
{
SetPlayerHealth(playerid, 100.0);
}