This event is called when a player enters a checkpoint.
- function onPlayerEnterCheckpoint( Player plr, Checkpoint cp )
- plr - The player who entered the checkpoint
- cp - The checkpoint the player entered
This event does not handle return values.
This example will remove the checkpoint after a player has entered it.
- function onPlayerEnterCheckpoint( player, cp )
- return 1;
The function Checkpoint.Remove was used in this example. More info about this in the corresponding page.