Hey all, not really sure what information to provide here just trying to get an idea of what I can look for in regards to why this may be happening. When a player hits about half hp (110-100) or so they just die. It’s not 100% of the time because myself and another didn’t but it is a very large portion of the time and i’m not really sure what could be causing it. Is there a certain function or native I can look for to assist with providing more information for this?
There also seems to be an issue with damage registering… some punches do 0 and then the next will just kill, or 2 will do no damage then third you’re half hp
Still having a weird issue with dying super easily - had a friend stand there and let me punch him, another friend heal him, punch, heal, punch, heal and randomly he’d just die from 100% hp. Tried turning off all scripts except the bare essentials for ESX like base, extended, async etc and still doing it… any ideas?
Updated to newest version of fivem, essential and all ESX structured files, cleared cache and still happening
turned down bat damage to basically 0
local MeeleWeapons = {
["WEAPON_NIGHTSTICK"] = 0.1,
["WEAPON_BAT"] = 0.000001
}
Citizen.CreateThread(function()
while true do
Citizen.Wait(5)
for weapon, modifier in pairs(MeeleWeapons) do
if GetSelectedPedWeapon(PlayerPedId()) == GetHashKey(weapon) then
SetPlayerMeleeWeaponDamageModifier(PlayerId(), v)
end
end
end
end)
Still instantly killed after hitting for like 40 times, just randomly kills
https://plays.tv/video/5cefab883cc629a5a3/damage-turned-down-still-has-that-insta-kill-power-
Example video 2:
https://plays.tv/video/5cefaf89ddf2cf8a5e/-okay-
They’re also all showing up in logs as “suicides” not kills