further hotfix to dropweapon

This commit is contained in:
Damen 2019-01-27 20:16:21 -05:00
parent 76b49ebe4b
commit 52d26259ab

View File

@ -431,8 +431,7 @@ stock RemoveSpecificPlayerWeapon( playerid, weaponid, bool:createpickup )
if ( iWeapon != iCurrentWeapon || iWeapon != weaponid ) {
GetPlayerWeaponData( playerid, iSlot, iWeaponID[ iSlot ], iWeaponAmmo[ iSlot ] );
}
if ( createpickup && iCurrentWeapon == iWeapon )
else if ( createpickup )
{
new
Float: X, Float: Y, Float: Z;