mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 02:08:55 +00:00
'Throwing' update, see desc, resolves #19
- proper i18n strings for dropping accounts, money, standard and weapons - check if the player has the weapon - workaround for duplicating weapon ammo when dropping weapon with 0 ammo - removed throw delay - code cleanup
This commit is contained in:
@@ -1216,7 +1216,7 @@ ESX.ShowInventory = function()
|
||||
|
||||
if type == 'item_weapon' then
|
||||
|
||||
TriggerServerEvent('esx:removeInventoryItem', type, item, nil)
|
||||
TriggerServerEvent('esx:removeInventoryItem', type, item)
|
||||
menu1.close()
|
||||
|
||||
else -- type: item_standard
|
||||
|
||||
Reference in New Issue
Block a user