Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Question Helmets headshot protection

Gothicsinz

Bronze Elite
Joined
Aug 5, 2021
Messages
13
Reaction score
9
Points
166
Hello everyone im using esx and currently building a server i have some help from some friends and we have been trying to figure this out for a long while now . How to prevent helmets from blocking bullet damage

Exemple without a helmet i die in 1 shot with a helmet requires 2 shots

if you know anything about this please help and thanks in advance
 

Gothicsinz

Bronze Elite
Joined
Aug 5, 2021
Messages
13
Reaction score
9
Points
166
Citizen.CreateThread(function()
while true do
local playerPed = GetPlayerPed(-1)
local vehicle = GetVehiclePedIsIn(PlayerPedId(), false)
SetPedConfigFlag(PlayerPedId(), 438, true) -- helmet armor removal
SetPedSuffersCriticalHits(PlayerPedId(), false) -- enable or disable 1 shot headshot
SetDisableVehiclePetrolTankDamage(vehicle, true) -- vehicles gas tank unable to get damaged while a player is inside the car
Wait(100)
end
end)

comment out what you dont need
 
Top