OnPlayerEnterColShape
This event is triggered when a player enters a colshape.
- shape: parameter input should be in ColShape type
- player: parameter input should be in Player type
{{#tag:syntaxhighlight| [ServerEvent(Event.PlayerEnterColshape)] public void OnPlayerEnterColshape(ColShape shape, Player player) {
player.SendChatMessage($"You entered \{shape.Id\}.");
} |lang=csharp}} }}