2013-08-13 23:10:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-07-31 17:10:59 +01:00
|
|
|
function OnPlayerJoined(Player)
|
2013-08-13 23:10:59 +02:00
|
|
|
ShowMOTDTo(Player)
|
|
|
|
|
Player:GetWorld():BroadcastChat(cChatColor.Yellow .. "[JOIN] " .. cChatColor.White .. Player:GetName() .. " has joined the game")
|
|
|
|
|
return false
|
2013-07-31 17:10:59 +01:00
|
|
|
end
|
|
|
|
|
|
2013-08-13 23:10:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-07-31 17:10:59 +01:00
|
|
|
function OnDisconnect(Player, Reason)
|
2013-08-13 23:10:59 +02:00
|
|
|
Player:GetWorld():BroadcastChat(cChatColor.Yellow .. "[LEAVE] " .. cChatColor.White .. Player:GetName() .. " has left the game")
|
2013-08-10 17:05:51 +01:00
|
|
|
return true
|
2013-08-13 23:10:59 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|