onCheckpointExited
Description
This is called when a player exits any checkpoint.
| Name | Description |
|---|---|
| player | The player whom triggered the event. |
| checkpoint | The checkpoint that triggers the event. |
Example
This example shows a message whenever you exit a checkpoint.
function onPlayerCheckpointExited(player, checkpoint) { MessagePlayer("You have exited a checkpoint! ID: " + checkpoint.ID, player); }