diff --git a/client/main.lua b/client/main.lua index 489d4ae8..17a3db65 100644 --- a/client/main.lua +++ b/client/main.lua @@ -406,7 +406,7 @@ Citizen.CreateThread(function() local weaponHash = GetHashKey(weaponName) local weaponComponents = {} - if HasPedGotWeapon(playerPed, weaponHash, false) and weaponName ~= 'WEAPON_UNARMED' then + if HasPedGotWeapon(playerPed, weaponHash, false) then local ammo = GetAmmoInPedWeapon(playerPed, weaponHash) for k2,v2 in ipairs(v.components) do diff --git a/config.lua b/config.lua index 5dfee80f..d3bf0edb 100644 --- a/config.lua +++ b/config.lua @@ -1,8 +1,8 @@ Config = {} Config.Locale = 'fr' -Config.Accounts = { 'bank', 'black_money' } -Config.AccountLabels = { bank = _U('bank'), black_money = _U('black_money') } +Config.Accounts = {'bank', 'black_money'} +Config.AccountLabels = {bank = _U('bank'), black_money = _U('black_money')} Config.EnableSocietyPayouts = false -- pay from the society account that the player is employed at? Requirement: esx_society Config.DisableWantedLevel = true