OnPlayerLeaveCheckpoint
From SA-MP
[edit]
OnPlayerLeaveCheckpoint
This callback is called when a player leaves the checkpoint set for that player.
(playerid)
| playerid | The player who left the checkpoint. |
| Returns | 0 - prevents this callback from being executed anywhere else. |
| Returns | 1 - allows execution of this callback in filterscripts loaded afterwards (except for gamemodes). |
[edit]
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- SetPlayerCheckpoint: Creates a checkpoint.
- DisablePlayerCheckpoint: Removes a checkpoint.
- IsPlayerInCheckpoint: Checks if a player in in a checkpoint.
