Changement event pour kick

This commit is contained in:
rick 2021-05-29 02:02:50 +02:00
parent b3cd6f9ee5
commit 48d371d080
Signed by: Rick
GPG key ID: 2B593F087240EE99

View file

@ -24,7 +24,7 @@ public Plugin myinfo =
description = "Bot communiquant avec le bot discord \
https://github.com/Lunki51/cs-picker afin dautomatiser \
lInfoLan 2021",
version = "1.5.2",
version = "1.5.4",
url = "https://git.gnous.eu/Rick/infolanBot"
};
@ -32,7 +32,7 @@ public void OnPluginStart()
{
HookEvent("player_activate", SetTeamPlayer);
HookEvent("cs_win_panel_round", UpdateScoreBoard);
HookEvent("cs_match_end_restart", TestRestart);
HookEvent("cs_pre_restart", TestRestart, EventHookMode_Pre);
RegServerCmd("!team", SetTeam);
/* pour le debug