further hotfix to dropweapon
This commit is contained in:
parent
76b49ebe4b
commit
52d26259ab
@ -431,8 +431,7 @@ stock RemoveSpecificPlayerWeapon( playerid, weaponid, bool:createpickup )
|
|||||||
if ( iWeapon != iCurrentWeapon || iWeapon != weaponid ) {
|
if ( iWeapon != iCurrentWeapon || iWeapon != weaponid ) {
|
||||||
GetPlayerWeaponData( playerid, iSlot, iWeaponID[ iSlot ], iWeaponAmmo[ iSlot ] );
|
GetPlayerWeaponData( playerid, iSlot, iWeaponID[ iSlot ], iWeaponAmmo[ iSlot ] );
|
||||||
}
|
}
|
||||||
|
else if ( createpickup )
|
||||||
if ( createpickup && iCurrentWeapon == iWeapon )
|
|
||||||
{
|
{
|
||||||
new
|
new
|
||||||
Float: X, Float: Y, Float: Z;
|
Float: X, Float: Y, Float: Z;
|
||||||
|
Loading…
Reference in New Issue
Block a user