FileEX
FileEX
This is GTA SA bug https://www.youtube.com/watch?v=lTC8D7z2f0M (2:52:00, 3:14:40)
I had to change the way the ``onObjectStop`` event was triggered. This must be synchronized via a packet on the client side because on the server side StopMovement is not...
So how to improve it?
Damage Handler is located on the client side and this is where the onClientPedDamage event is sent and, depending on its status, the handler returns the result. The server-side event...
> if the server sends packets to the client about ped damage then `cancelEvent` should not send any synchronization packets and ignore everything. At least thats how I would see...
The sync packet covers a lot of information, not just health, so you can't just cancel it https://github.com/multitheftauto/mtasa-blue/blob/1f2c6e75fb71b01f0053f151e766a232ed33692b/Server/mods/deathmatch/logic/CPedSync.cpp#L245-L264
I really don't understand why no one has looked into this for a year. It's a pity that so few people have write access
To start with, the coding guidelines haven't been updated for several years. No official documentation is currently up to date regarding the development of the MTA. There is no one...
I think the best way would be for the server developer to be able to disable some client-side functions. Nevertheless, a potential cheater could inject his code and send an...
Ok, this is quite a large PR, so I decided to split it into several smaller PRs to make the review easier.