DisablePlayerRaceCheckpoint
From SA-MP Wiki
DisablePlayerRaceCheckpoint
Disable any initialized race checkpoints for a specific player, since you can only have one at any given time.
(playerid)
| playerid | The player to disable the current checkpoint for. |
This function does not return a specific value.
public OnPlayerLeaveRaceCheckpoint(playerid) { DisablePlayerRaceCheckpoint(playerid); return 1; }
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- DisablePlayerCheckpoint: Disable the player's current checkpoint.
- SetPlayerRaceCheckpoint: Create a race checkpoint for a player.
