OnPlayerExitColShape

From RAGE Multiplayer Wiki

This event is triggered when a player exits a colshape.


C# Syntax

[ServerEvent(Event.PlayerExitColshape)]

Parameters

  • shape: parameter input should be in ColShape type
  • player: parameter input should be in Player type

Example

[ServerEvent(Event.PlayerExitColshape)]
public void OnPlayerExitColshape(ColShape shape, Player player)
{
	player.SendChatMessage($"You exited {shape.id}.");
}