Client events entityDamaged

Hello,

I want to track the damage dealt by the player to an entity using entityDamaged event describe here:
https://docs.fivem.net/docs/scripting-reference/events/client-events/#entitydamaged

Fourth args is The base amount of damage inflicted, discounting any modifiers.

But it always return 0.

Here my code:

OneSync : ON (with infinity)
GameBuild : 2802

2 Likes

It’s always 0, yeah.
CEventNetworkEntityDamage also doesn’t track damage.
There is no native either.

So much fun to work with this API.