From 48d371d080322aedd95836a270a3f52f5eb3391c Mon Sep 17 00:00:00 2001 From: rick Date: Sat, 29 May 2021 02:02:50 +0200 Subject: [PATCH] Changement event pour kick --- infolan.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infolan.sp b/infolan.sp index b2ce5fd..f8fd5a3 100644 --- a/infolan.sp +++ b/infolan.sp @@ -24,7 +24,7 @@ public Plugin myinfo = description = "Bot communiquant avec le bot discord \ https://github.com/Lunki51/cs-picker afin d’automatiser \ l’InfoLan 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