mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-05 21:03:20 +00:00
200IQBots: Fix compile issue
This commit is contained in:
parent
43017396ed
commit
7990e2c359
2 changed files with 3 additions and 3 deletions
Binary file not shown.
|
@ -87,10 +87,10 @@ public Action BotControlTimerV2(Handle timer)
|
|||
if(!bEscapeReady) FindExistingTank();
|
||||
return Plugin_Stop;
|
||||
}
|
||||
if(iAliveTanks == 0) return Plugin_Continue;
|
||||
if(iAliveTanks == 0 || GetClientCount(true) == 0) return Plugin_Continue;
|
||||
|
||||
int botHealth, closestTank, tank_target, distanceFromSurvivor;
|
||||
float BotPosition[3], TankPosition[3], smallestDistance;
|
||||
int botHealth, closestTank, tank_target;
|
||||
float BotPosition[3], TankPosition[3], smallestDistance, distanceFromSurvivor;
|
||||
|
||||
//Loop all players, finding survivors. (survivor team, bots, not tank.)
|
||||
for (int i = 1; i <= MaxClients; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue