fix(respawn): les joueurs respawm normalement

close #1
This commit is contained in:
rick 2021-06-05 17:38:59 +02:00
parent c47a89f0f6
commit 28bba7ae75
Signed by: Rick
GPG key ID: 2B593F087240EE99

View file

@ -26,13 +26,13 @@ public Plugin myinfo =
description = "Plugin communiquant avec le bot discord \
https://github.com/InfoLAN/cs-picker afin dautomatiser \
lInfoLan 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);
}
}
}