Method:
On_PlayerConnected
Argument(s):
Fougerite.Player player
Examples:
Python:
Javascript:
C#:
On_PlayerConnected
Argument(s):
Fougerite.Player player
Examples:
Python:
Python:
def On_PlayerConnected(self, Player):
Server.Broadcast(Player.Name + " has connected to the server!")
JavaScript:
function On_PlayerConnected(Player) {
Server.Broadcast(Player.Name + " has connected to the server!");
}
C#:
C#:
public void Player_Connect(Fougerite.Player Player)
{
Fougerite.Server ServerObj = Fougerite.Server.GetServer();
ServerObj.Broadcast(Player.Name + " has connetcted to the server!");
}