βοΈCommon issues
No common problems have been reported
They die in the sand and do not reappear and stay dead.
-- Line 579
if totalBleed > 0 then
if not LocalPlayer.state.InMatch or not LocalPlayer.state.InRankedMatch then
local currentHealth = GetEntityHealth(ped)
SetEntityHealth(ped, currentHealth - totalBleed)
end
end
Death screen (ak47 ambulance)
To disable the kill screen when you are in an arena with ak47_ambulancejob do the following:
File: ak47_qb_ambulancejob/modules/client/death/customizable.lua
Replace function line 30
function CanPlayerDie(attacker, weapon)
if GetResourceState('ls-arcade') == 'started' then
if not exports['ls-arcade']:isPlayerInArena() then
return true
end
local killerId = NetworkGetPlayerIndexFromPed(attacker)
TriggerServerEvent('ls-arcade:server:playerKilled', GetPlayerServerId(killerId))
return false
elseif GetResourceState('biyei_arenas') == 'started' then
if not LocalPlayer.state.InMatch or not LocalPlayer.state.InRankedMatch then
return true
end
return false
else
return true
end
end
It disappears at the start of the game, it takes it out of my hands!
Verify that you have not done the step of adding the setr inventory:weaponmismatch
to false
in ox_inventory.
setr inventory:weaponmismatch false
If you have already done so, check that it is not duplicated elsewhere and that it is true.
Last updated