OneSync explosionEvent CancelEvent not working

Hello, i am creating some protection for my server i am experimenting with explosionEvent OneSync server side event, as written here https://cookbook.fivem.net/2019/08/19/onesync-intercepting-game-events-such-as-explosions/

Explosion doesn’t cancel as it was written at the cookbook, if I am using more explosive like a grenade or sticky bomb is not working either, using linux artifact 2431 and code

AddEventHandler('explosionEvent', function(sender, ev)
    print(GetPlayerName(sender), json.encode(ev))
    CancelEvent()
end)

In console:

{“isAudible”:true,“f186”:80,“posZ224”:0.0,“f216”:false,“unkZ”:0.0,“f218”:0,“f189”:false,“f191”:false,“f240”:true,“explosionType”:5,“f190”:false,“f104”:0,“posY224”:0.0,“posX224”:0.0,“f164”:1945616459,“posX”:-297.46157836914,“unkX”:0.99999386072158,“damageScale”:1.0,“f208”:0,“f126”:false,“f210”:0,“posY”:-1403.6314697266,“f242”:false,“cameraShake”:0.7952755689621,“ownerNetId”:111,“f243”:false,“f241”:false,“posZ”:38.404296875,“isInvisible”:false,“f214”:0,“unkY”:0.0}

Define “doesn’t cancel”, as in - your expectation.

The originating client will still have the explosion exist, and neither will this directly cancel damage as that’s part of CWeaponDamageEvent.

Expectation is that explosion will not create, so no audio or other at client sides

That mean that my client that create explosion will see it but others not? Dont hear it?

Correct, I guess.

Okey working good with another player, if i am alone npc will explode and cars and everything but when another player is on server only i see explosion but it not deal any damage, thanks!

Hi, I hate to post on this again, but it doesn’t seem like either of the events mentioned do anything at all.
Using CancelEvent() doesn’t do anything with explosionEvent, same with CWeaponDamageEvent (or weaponDamageEvent). Would another script be conflicting with this? (such as txAdmin) CWeaponDamageEvent or weaponDamageEvent doesn’t invoke the callback function when an explosion happens either.