mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-06-27 14:41:49 +00:00
weapons
This commit is contained in:
26
userraw/scripts/bots_pvb.gsc
Normal file
26
userraw/scripts/bots_pvb.gsc
Normal file
@ -0,0 +1,26 @@
|
||||
init()
|
||||
{
|
||||
level thread onBotConnected();
|
||||
}
|
||||
|
||||
onBotConnected()
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
level waittill("bot_connected", bot);
|
||||
|
||||
bot thread setBotPing();
|
||||
}
|
||||
}
|
||||
|
||||
setBotPing()
|
||||
{
|
||||
self endon("disconnect");
|
||||
|
||||
for (;;)
|
||||
{
|
||||
wait 0.05;
|
||||
|
||||
// self SetPing(randomIntRange(40, 60));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user