mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Fixed loadout flaw when confiscated while dead
This commit is contained in:
@@ -406,10 +406,6 @@ Citizen.CreateThread(function()
|
||||
local loadout = {}
|
||||
local loadoutChanged = false
|
||||
|
||||
if IsPedDeadOrDying(playerPed) then
|
||||
isLoadoutLoaded = false
|
||||
end
|
||||
|
||||
for k,v in ipairs(Config.Weapons) do
|
||||
local weaponName = v.name
|
||||
local weaponHash = GetHashKey(weaponName)
|
||||
|
||||
Reference in New Issue
Block a user