mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-06-28 07:01:50 +00:00
more killstreaks
This commit is contained in:
@ -20,9 +20,30 @@ onConnected()
|
||||
level waittill("connected", player);
|
||||
|
||||
player thread test();
|
||||
player thread onSpawn();
|
||||
}
|
||||
}
|
||||
|
||||
onSpawn()
|
||||
{
|
||||
self endon("disconnect");
|
||||
|
||||
for (;;)
|
||||
{
|
||||
self waittill("spawned_player");
|
||||
|
||||
self thread spawned();
|
||||
}
|
||||
}
|
||||
|
||||
spawned()
|
||||
{
|
||||
self endon("disconnect");
|
||||
self endon("death");
|
||||
|
||||
wait 0.5;
|
||||
}
|
||||
|
||||
test()
|
||||
{
|
||||
self endon("disconnect");
|
||||
|
Reference in New Issue
Block a user