parent
c47a89f0f6
commit
28bba7ae75
1 changed files with 2 additions and 4 deletions
|
@ -26,13 +26,13 @@ public Plugin myinfo =
|
|||
description = "Plugin communiquant avec le bot discord \
|
||||
https://github.com/InfoLAN/cs-picker afin d’automatiser \
|
||||
l’InfoLan 2021",
|
||||
version = "1.6.0b",
|
||||
version = "1.6.1b",
|
||||
url = "https://git.gnous.eu/Rick/infolanBot"
|
||||
};
|
||||
|
||||
public void OnPluginStart()
|
||||
{
|
||||
HookEvent("player_activate", SetTeamPlayer);
|
||||
HookEvent("player_connect_full", SetTeamPlayer);
|
||||
HookEvent("cs_win_panel_round", UpdateScoreBoard);
|
||||
HookEvent("cs_win_panel_match", FinCarte);
|
||||
|
||||
|
@ -118,8 +118,6 @@ public void SetTeamPlayer(Event event, const char[] name, bool dontBroadcast)
|
|||
KickClient(client, "Vous n’êtes pas autorisé à suivre / jouer \
|
||||
sur ce serveur");
|
||||
}
|
||||
else
|
||||
CS_RespawnPlayer(client);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue