Biyei Store
  • โ„น๏ธInformation
    • ๐Ÿ‘‹Welcome
    • ๐Ÿ”FiveM Asset Escrow System
  • ๐ŸงพScripts
    • ๐Ÿ”ซVip Weapons
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ†Arenas PvP
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โฌ†๏ธExports
      • ๐ŸŽ’Statesbags
      • โš’๏ธCommon issues
    • ๐Ÿ”ซSkin Changer
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • โœ…SafeZones
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • ๐ŸŽ’Statebags
      • โš’๏ธCommon issues
    • ๐Ÿ“›Red Zones
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • โญPartner Code System
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ“Announcement System
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿช™Coins + Reward System
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐ŸšจDefcon Alert
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐ŸจDepartment
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ“ฆCustom Box Creator
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ‘ทโ€โ™€๏ธMultipleJobs
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
  • ๐ŸŒŒOld Scripts
    • ๐Ÿš˜xVehicleRent
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ‘ทโ€โ™€๏ธxMultipleJobs
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • โš›๏ธxStorm
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • โฌ†๏ธxLift
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ”ซhPaintball
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿš—hVehicleShop
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
Powered by GitBook
On this page
  • They die in the sand and do not reappear and stay dead.
  • Death screen (ak47 ambulance)
  • It disappears at the start of the game, it takes it out of my hands!
  1. Scripts
  2. Arenas PvP

Common issues

No common problems have been reported

They die in the sand and do not reappear and stay dead.

wasabi_ambulance/game/client/client.lua
-- 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

File: ak47_ambulancejob/modules/client/death/customizable.lua

Replace function line 30

ak47_ambulancejob/modu
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.

PreviousStatesbagsNextSkin Changer

Last updated 18 days ago

๐Ÿงพ
๐Ÿ†
โš’๏ธ
Page cover image