explosive rounds n to activate

This commit is contained in:
Lorenc Pekaj 2018-10-11 23:22:55 +11:00
parent 3ad50aec5e
commit 97429cf955

View File

@ -9799,7 +9799,7 @@ public OnPlayerKeyStateChange( playerid, newkeys, oldkeys )
} }
// Explosive Bullets // Explosive Bullets
if ( p_ExplosiveBullets[ playerid ] > 0 && PRESSED( KEY_YES ) ) { if ( p_ExplosiveBullets[ playerid ] > 0 && PRESSED( KEY_NO ) ) {
if ( GetPVarInt( playerid, "explosive_rounds" ) == 1 ) { if ( GetPVarInt( playerid, "explosive_rounds" ) == 1 ) {
DeletePVar( playerid, "explosive_rounds" ); DeletePVar( playerid, "explosive_rounds" );
ShowPlayerHelpDialog( playerid, 2000, "Explosive rounds ~r~disabled." ); ShowPlayerHelpDialog( playerid, 2000, "Explosive rounds ~r~disabled." );