VIPMode: say no to fakes

This commit is contained in:
dogan 2020-09-25 14:32:17 +02:00
parent cc71adc945
commit 2be068eb14

View File

@ -82,6 +82,9 @@ public void PerformVIPSelection(bool reselect)
{
if (IsClientInGame(client) && IsPlayerAlive(client) && ZR_IsClientHuman(client))
{
if(IsFakeClient(client))
continue;
PotentialVIPClient[PotentialVIPCount] = client;
PotentialVIPCount++;
}
@ -117,6 +120,9 @@ public Action PerformAdminVIPSelection(int client, int args)
{
if (IsClientInGame(player) && IsPlayerAlive(player) && ZR_IsClientHuman(player))
{
if(IsFakeClient(client))
continue;
PotentialVIPClient[PotentialVIPCount] = player;
PotentialVIPCount++;
}