mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
fix iw4x, integration. improve scripts overall (#287)
* fix(scripts): correct usage of notifyOnPlayerCommand * fix(scripts): correct iw4x usage of is bot * fix(scripts): correct iw4x usage of is bot * fix(scripts): fix noclip on iw4x * fix(scripts): ident * iw5 too
This commit is contained in:
@ -41,11 +41,11 @@ waitForAttack()
|
||||
{
|
||||
self endon( "disconnect" );
|
||||
|
||||
self notifyOnPlayerCommand( "player_shot", "+attack" );
|
||||
self.lastAttackTime = 0;
|
||||
|
||||
for( ;; )
|
||||
{
|
||||
self notifyOnPlayerCommand( "player_shot", "+attack" );
|
||||
self waittill( "player_shot" );
|
||||
|
||||
self.lastAttackTime = getTime();
|
||||
|
Reference in New Issue
Block a user