Hello,
I'm developing an anti-cheat system in MTA:SA and I'm trying to detect players who block or cancel the `onClientPlayerDamage` event on their side, which prevents the server from detecting damage via `onPlayerDamage`.
I know that if the client cancels `onClientPlayerDamage` using `cancelEvent()`, the server-side `onPlayerDamage` event will not be triggered. Resulting in godmode and players not dying
So my question is:
- Is there a reliable way to detect if the client-side damage event was cancelled?
- Does MTA have an anti cheat against this type of cheating ?
-Are there other ways for cheating to cancel damage taken and not die?
Any suggestions or ideas to detect and prevent this kind of abuse would be appreciated!
Thanks in advance.