adding fakeclient check
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user