mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-23 06:15:43 +00:00
pvb helper
This commit is contained in:
parent
69a2f43084
commit
5b0185ec99
@ -477,7 +477,7 @@ set sv_enableBounces "1"
|
||||
|
||||
|
||||
// CUSTOM
|
||||
|
||||
set bot_pvb_helper "1"
|
||||
set scr_showHP "1"
|
||||
set scr_allowFPSBooster "1"
|
||||
|
||||
|
@ -63,10 +63,16 @@ watchCheater()
|
||||
|
||||
watchTeams()
|
||||
{
|
||||
if(getDvar("bot_pvb_helper") == "")
|
||||
setDvar("bot_pvb_helper", false);
|
||||
|
||||
for (;;)
|
||||
{
|
||||
wait 1;
|
||||
|
||||
if (!getDvarInt("bot_pvb_helper"))
|
||||
continue;
|
||||
|
||||
foreach (player in level.players)
|
||||
{
|
||||
if (player.team == "axis" && !player is_bot())
|
||||
|
Loading…
x
Reference in New Issue
Block a user