#How do I cancel One Punch in qbcore?

1 messages · Page 1 of 1 (latest)

dusty timber
#

?

lapis crater
#

Add this to the client side of the small resources

limber moss
#

..what?

#

How is setting the entityhealth on spawn disabling one punching?

lapis crater
#

Go to the qb-weapons/client/main lua and replace this like

#

SetWeaponDamageModifierThisFrame(GetHashKey("WEAPON_UNARMED"), 10.0)

#

SetWeaponDamageModifierThisFrame(GetHashKey("WEAPON_UNARMED"),1.0)

lapis crater
limber moss
#

Still don't think that's correct bud - it's a critical hit type of logic, which bypasses the weapon damage applied from fists

lapis crater
#

Oh yea

#

I will leave that to u

limber moss
#

I don't know the answer - I just annoyingly know that wasnt it

lapis crater
#

I will make a snippet for it when I am home

dusty timber
#

So what is your answer?