mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
bot_sniperCheck
This commit is contained in:
parent
d7f877e40f
commit
5a4bffdbaa
@ -494,6 +494,7 @@ set bot_pvb_helper_noPlayersOnTeam "axis"
|
|||||||
set bot_pvb_helper_customBotClassTeam ""
|
set bot_pvb_helper_customBotClassTeam ""
|
||||||
set scr_showHP "1"
|
set scr_showHP "1"
|
||||||
set scr_allowFPSBooster "1"
|
set scr_allowFPSBooster "1"
|
||||||
|
set bot_sniperCheck "1"
|
||||||
|
|
||||||
// _class
|
// _class
|
||||||
// set scr_allow_ "0"
|
// set scr_allow_ "0"
|
||||||
|
@ -494,6 +494,7 @@ set bot_pvb_helper_noPlayersOnTeam "allies"
|
|||||||
set bot_pvb_helper_customBotClassTeam "axis"
|
set bot_pvb_helper_customBotClassTeam "axis"
|
||||||
set scr_showHP "1"
|
set scr_showHP "1"
|
||||||
set scr_allowFPSBooster "1"
|
set scr_allowFPSBooster "1"
|
||||||
|
set bot_sniperCheck "1"
|
||||||
|
|
||||||
// _class
|
// _class
|
||||||
// set scr_allow_ "0"
|
// set scr_allow_ "0"
|
||||||
|
@ -26,6 +26,9 @@ init()
|
|||||||
|
|
||||||
watchSniper()
|
watchSniper()
|
||||||
{
|
{
|
||||||
|
if (getDvar("bot_sniperCheck") == "")
|
||||||
|
return;
|
||||||
|
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
numPlayers = 0;
|
numPlayers = 0;
|
||||||
@ -54,7 +57,7 @@ watchSniper()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
wait 30;
|
wait 15;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user