βοΈ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)
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
endfunction 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!
Last updated