warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
DisablePlayerRaceCheckpoint
Description
Disable any initialized race checkpoints for a specific player, since you can only have one at any given time.
Name | Description |
---|---|
playerid | The player to disable the current checkpoint for. |
Returns
This function does not return any specific values.
Examples
public OnPlayerLeaveRaceCheckpoint(playerid)
{
DisablePlayerRaceCheckpoint(playerid);
return 1;
}
Related Functions
- SetPlayerCheckpoint: Create a checkpoint for a player.
- DisablePlayerCheckpoint: Disable the player's current checkpoint.
- IsPlayerInCheckpoint: Check if a player is in a checkpoint.
- SetPlayerRaceCheckpoint: Create a race checkpoint for a player.
- IsPlayerInRaceCheckpoint: Check if a player is in a race checkpoint.
- IsPlayerRaceCheckpointActive: Check if the player currently has a race checkpoint visible.
Related Callbacks
- OnPlayerEnterCheckpoint: Called when a player enters a checkpoint.
- OnPlayerLeaveCheckpoint: Called when a player leaves a checkpoint.
- OnPlayerEnterRaceCheckpoint: Called when a player enters a race checkpoint.
- OnPlayerLeaveRaceCheckpoint: Called when a player leaves a race checkpoint.