Biyei Scripts

Common Issues

Death screen (ak47 ambulance)

To disable the kill screen when you are in an arena with ak47_ambulancejob, replace the CanPlayerDie function (around line 30) in either ak47_qb_ambulancejob/modules/client/death/customizable.lua or ak47_ambulancejob/modules/client/death/customizable.lua:

Lua
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've added setr inventory:weaponmismatch false to false in ox_inventory. If you already have, check it isn't duplicated elsewhere and that it's actually set to true... err, verify the value is correctly applied:

Text
setr inventory:weaponmismatch false