From d20ea0d682ba18d625fb125b9f3f733c2ca8cc7d Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Wed, 19 Sep 2018 22:54:57 +1000 Subject: [PATCH] fix meth bug where keys were not responsive --- gamemodes/irresistible/cnr/features/minijobs/meth.pwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/irresistible/cnr/features/minijobs/meth.pwn b/gamemodes/irresistible/cnr/features/minijobs/meth.pwn index 6adb865..7dad555 100644 --- a/gamemodes/irresistible/cnr/features/minijobs/meth.pwn +++ b/gamemodes/irresistible/cnr/features/minijobs/meth.pwn @@ -92,7 +92,7 @@ hook OnPlayerKeyStateChange( playerid, newkeys, oldkeys ) static Float: X, Float: Y, Float: Z, Float: Angle; - if ( PRESSED( KEY_SECONDARY_ATTACK ) ) + if ( PRESSED( KEY_FIRE ) ) { if ( IsPlayerInRangeOfPoint( playerid, 2.0, 2084.2842, 1234.0254, 414.7454 ) && IsPlayerInMethlab( playerid ) && p_Class[ playerid ] != CLASS_POLICE ) {