OnPlayerConnected
This event is triggered when a player joins the server.
C# Syntax
[ServerEvent(Event.PlayerConnected)]
Parameters
- player: parameter input should be in Player type
Example
[ServerEvent(Event.PlayerConnected)]
public void OnPlayerConnect(Player player)
{
player.SendChatMessage($"Welcome to RAGE:Multiplayer {player.Name}");
}