I tested and found that if there are more than one upgrade box on the ground, fake survivors(bot) can use the upgrade boxes without limits (more than one time).
so I modify this code
PHP Code:
bool isPlayerReal(int client) {
return isPlayerValid(client) /*&& !IsFakeClient(client)*/;
}
PHP Code:
bool isPlayerAliveSurvivor(int client) {
return isPlayerSurvivor(client) /*&& IsPlayerAlive(client)*/;
}
And is there any chance to remove upgrade box entity when all survivors has used?
because server becomes lag if there are so many upgrade boxes on the ground.
__________________