so i just add all the weapons we use,
kinda like this
Citizen.CreateThread(function()
while true do
N_0x4757f00bc6323cfe(GetHashKey(“WEAPON_UNARMED”), 0.1)
Wait(0)
N_0x4757f00bc6323cfe(GetHashKey(“WEAPON_NIGHTSTICK”), 0.1)
Wait(0)
N_0x4757f00bc6323cfe(GetHashKey(“WEAPON_PISTOL”), 0.1)
Wait(0)
N_0x4757f00bc6323cfe(GetHashKey(“WEAPON_SHOTGUN”), 0.1)
Wait(0)
end
end)
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
local ped = PlayerPedId()
if IsPedArmed(ped, 6) then
DisableControlAction(1, 140, true)
DisableControlAction(1, 141, true)
DisableControlAction(1, 142, true)
end
end
end)
that 0.1 is the dmg modifier i bet…
then i make a folder call it something like weapondmg, make a __resource.lua and make an above text file with all the code above in it. save that as something like weapondmg.lua
in your above example you wrote (((N_0x4757f00bc6323cfe))) just checking to see if that is going to be the same for every line, all i have to do is put all the WEAPON_GUNSNAMES and i should be good to go right?
if that is all it takes I LOVE YOU , if it is not what all it takes I STILL LOVE YOU
a blanl __resouce file right
resource_manifest_version “77731fab-63ca-442c-a67b-abc70f28dfa5”
i dont need to add something like
server_scripts {
"weapondmg.lua",
}
client_scripts {
“weapondmgr.lua”,\
thanks again
update :::: well it did not work and now for somereason i cannot /heal
ok new update /heal was effected by something else got that fixed,
my new weapon one did not change the dmg, dont know if it is the coding or was i supposed to do more with __resource