Open dexslab opened 2 years ago
I've gotten it to work with a small empty script just checking for it. But very inconsistent See This message for reference. It looks like falling doesnt trigger this at all
Confirmed, but also able to reproduce it with ScriptHook, so it could be issued by the RAGE engine
Confirmed, but also able to reproduce it with ScriptHook, so it could be issued by the RAGE engine
Well that is not good i wonder if there is a solution that you guys can do with player damaged and bone hit
I found the value and can expose it serverside and clientside as a altv player getter and setter. But i can't guarantee that it will work better then the native.
I found the value and can expose it serverside and clientside as a altv player getter and setter. But i can't guarantee that it will work better then the native.
That should be just fine as long as it's close and I can grab it on the player damaged event server side
Our internal getter behaves exactly the same as the native. So i guess this is for sure a bug inside gta.
Description of the problem
So running every tick to check for any damage done to a ped it always returns false and no bone.
Reproduction steps
Injure yourself by falling or getting thrown from vehicle. Even better get shot if you have a friend able to shoot you.
Expected behaviour
Should get whenever a player takes any damage
Additional context
Maybe instead of it being client sided we can get it added to the playerDamage event as seen in issue #1194
Operating system
Windows 10
Version
release/10.10