mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
Fix tis
This commit is contained in:
parent
aa0b4d5f6d
commit
5da49c2f7f
@ -191,6 +191,7 @@ onPlayerSpawned()
|
||||
self thread grenade_watch();
|
||||
self thread lockon_watch();
|
||||
self thread jav_loc_watch();
|
||||
self thread ti_fix();
|
||||
|
||||
self thread adsHack();
|
||||
self thread fireHack();
|
||||
@ -204,6 +205,22 @@ onPlayerSpawned()
|
||||
}
|
||||
}
|
||||
|
||||
ti_fix()
|
||||
{
|
||||
self endon("disconnect");
|
||||
self endon("death");
|
||||
|
||||
for (;;)
|
||||
{
|
||||
self waittill( "grenade_fire", lightstick, weapName );
|
||||
|
||||
if ( weapName != "flare_mp" )
|
||||
continue;
|
||||
|
||||
self.TISpawnPosition = self.origin;
|
||||
}
|
||||
}
|
||||
|
||||
jav_loc_watch()
|
||||
{
|
||||
self endon("disconnect");
|
||||
|
Loading…
x
Reference in New Issue
Block a user