diff --git a/infolan.sp b/infolan.sp index 67adf82..299d6ed 100644 --- a/infolan.sp +++ b/infolan.sp @@ -31,8 +31,7 @@ public Plugin myinfo = public void OnPluginStart() { HookEvent("player_activate", SetTeamPlayer); - //HookEvent("cs_win_panel_round", UpdateScoreBoard); - HookEvent("cs_win_panel_match", FinCarte); + HookEvent("cs_win_panel_round", UpdateScoreBoard); //HookEvent("cs_match_end_restart", TestRestart, EventHookMode_Pre); RegServerCmd("!team", SetTeam); @@ -44,13 +43,6 @@ public void OnPluginStart() PrintToServer("Hello world!"); } -public void FindCarte() -{ - ServeurLibre(); - Handle socket = SocketCreate(SOCKET_TCP, OnSocketError); - SocketConnect(socket, SocketUpdateScore, OnSocketReceive, OnSocketDisconnected, MY_SOCKET_IP, MY_SOCKET_PORT); -} - public void TestRestart(Event event, const char[] name, bool dontBroadcast) { // TODO kick tout le monde