VIPMode: say no to fakes
This commit is contained in:
parent
cc71adc945
commit
2be068eb14
@ -82,6 +82,9 @@ public void PerformVIPSelection(bool reselect)
|
|||||||
{
|
{
|
||||||
if (IsClientInGame(client) && IsPlayerAlive(client) && ZR_IsClientHuman(client))
|
if (IsClientInGame(client) && IsPlayerAlive(client) && ZR_IsClientHuman(client))
|
||||||
{
|
{
|
||||||
|
if(IsFakeClient(client))
|
||||||
|
continue;
|
||||||
|
|
||||||
PotentialVIPClient[PotentialVIPCount] = client;
|
PotentialVIPClient[PotentialVIPCount] = client;
|
||||||
PotentialVIPCount++;
|
PotentialVIPCount++;
|
||||||
}
|
}
|
||||||
@ -117,6 +120,9 @@ public Action PerformAdminVIPSelection(int client, int args)
|
|||||||
{
|
{
|
||||||
if (IsClientInGame(player) && IsPlayerAlive(player) && ZR_IsClientHuman(player))
|
if (IsClientInGame(player) && IsPlayerAlive(player) && ZR_IsClientHuman(player))
|
||||||
{
|
{
|
||||||
|
if(IsFakeClient(client))
|
||||||
|
continue;
|
||||||
|
|
||||||
PotentialVIPClient[PotentialVIPCount] = player;
|
PotentialVIPClient[PotentialVIPCount] = player;
|
||||||
PotentialVIPCount++;
|
PotentialVIPCount++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user