fix random armour drop

This commit is contained in:
Lorenc Pekaj 2018-10-14 23:43:58 +11:00
parent 0009c38ffc
commit 5fe4f61740

View File

@ -151,7 +151,7 @@ hook OnPlayerPickUpDynPickup( playerid, pickupid )
SetPlayerHealth( playerid, health ); SetPlayerHealth( playerid, health );
} }
} }
else if ( g_weaponDropData[ dropid ] [ E_WEAPON_ID ] == WEAPON_HEALTH ) else if ( g_weaponDropData[ dropid ] [ E_WEAPON_ID ] == WEAPON_ARMOUR )
{ {
new new
Float: armour; Float: armour;