Envoie json à la fin du match
This commit is contained in:
parent
9c2d59eeda
commit
7badf38737
1 changed files with 6 additions and 0 deletions
|
@ -32,6 +32,7 @@ public void OnPluginStart()
|
||||||
{
|
{
|
||||||
HookEvent("player_activate", SetTeamPlayer);
|
HookEvent("player_activate", SetTeamPlayer);
|
||||||
HookEvent("cs_win_panel_round", UpdateScoreBoard);
|
HookEvent("cs_win_panel_round", UpdateScoreBoard);
|
||||||
|
HookEvent("cs_win_panel_match", FinCarte);
|
||||||
//HookEvent("cs_match_end_restart", TestRestart, EventHookMode_Pre);
|
//HookEvent("cs_match_end_restart", TestRestart, EventHookMode_Pre);
|
||||||
|
|
||||||
RegServerCmd("!team", SetTeam);
|
RegServerCmd("!team", SetTeam);
|
||||||
|
@ -43,6 +44,11 @@ public void OnPluginStart()
|
||||||
PrintToServer("Hello world!");
|
PrintToServer("Hello world!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void FinCarte(Event event, const char[] name, bool dontBroadcast)
|
||||||
|
{
|
||||||
|
ServeurLibre();
|
||||||
|
}
|
||||||
|
|
||||||
public void TestRestart(Event event, const char[] name, bool dontBroadcast)
|
public void TestRestart(Event event, const char[] name, bool dontBroadcast)
|
||||||
{
|
{
|
||||||
// TODO kick tout le monde
|
// TODO kick tout le monde
|
||||||
|
|
Loading…
Reference in a new issue