About anti-hp vehicle.
#1

hello everyone,

It's time to create some anti-cheat for vehicle hp restore, so i've searching for best method to do this, maybe someone of you have already created it and can share?

One of option for me is to remove all sprays/tunings and set vehicles hp to 999, and with timer check if healths over 999 than kick/ban etc. player... What do recommend you?
Reply
#2

You can make a function like SafeSetVehicleHealth(vehicled, health) and use it in your script.This function would set the vehicle's HP and a variable called VehHP[MAX_VEHICLES] for example.Using a timer you can check if the VehHP is equal to the real vehicle's health.If not=>Ban.
Reply
#3

Wait, you want a code ?, or your just taking opinions ?
Reply
#4

Quote:
Originally Posted by =WoR=G4M3Ov3r
Посмотреть сообщение
Wait, you want a code ?, or your just taking opinions ?
Opinions and maybe a little bit of code (to let me understand the real meaning).

P.s above comment it's like a money anti-cheat checkin with real moneys and variable, thanks, i may try this today.
Reply
#5

just updated my thread with tips on vehicle health cheat detection
http://forum.sa-mp.com/showthread.ph...22#post1050022
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)