OnPlayerExitCheckpoint

From RAGE Multiplayer Wiki

This event is triggered when a player exits a checkpoint.


C# Syntax

[ServerEvent(Event.PlayerExitCheckpoint)]

Parameters

  • checkpoint: parameter input should be in Checkpoint type
  • player: parameter input should be in Player type

Example

[ServerEvent(Event.PlayerExitCheckpoint)]
public void OnPlayerExitCheckpoint(Checkpoint checkpoint, Player player)
{
	player.SendChatMessage($"You exited checkpoint: {checkpoint.Id}.");
}