#How do I cancel One Punch in qbcore?
1 messages · Page 1 of 1 (latest)
Add this to the client side of the small resources
Go to the qb-weapons/client/main lua and replace this like
SetWeaponDamageModifierThisFrame(GetHashKey("WEAPON_UNARMED"), 10.0)
SetWeaponDamageModifierThisFrame(GetHashKey("WEAPON_UNARMED"),1.0)
I had to remember the line in the qb weapons
Still don't think that's correct bud - it's a critical hit type of logic, which bypasses the weapon damage applied from fists
I don't know the answer - I just annoyingly know that wasnt it
Probably something similar to how smallresources disables pistolwhips
https://github.com/qbcore-framework/qb-smallresources/blob/c5da72cda680a2199aeef77bde0b008bbaf1fc5b/client/ignore.lua#L128-L137
I will make a snippet for it when I am home
So what is your answer?