mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2026-10-13 06:21:26 +00:00
weapons
This commit is contained in:
1 parent
d7807d00c3
commit
85571fa693
3 files changed
+3072
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -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