adding fakeclient check
This commit is contained in:
parent
c07f8839bb
commit
a3f0c662eb
@ -209,7 +209,7 @@ public int Native_GetPlayerWorthRTV_boost(Handle plugin, int numParams)
|
||||
}
|
||||
|
||||
int avg = GetAveragePlayerActiveTimeServer();
|
||||
if (g_iPlayerTimeServer[client] <= avg || avg == 0 || is_bot_player[client])
|
||||
if (g_iPlayerTimeServer[client] <= avg || avg == 0 || is_bot_player[client] || IsFakeClient(client))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user