Detect invincible vehicle ?
#2

Well, most likely you have to check it's HP first. If it's greater than 1000.0, then the player should be banned. However, a smarter hack might use the vehicle's HP to it's advantage(so the hack can't be detected), and if the vehicle's HP it's less than 1000.0, it immediatly repairs/restores the vehicle's health back to 1000.0(so, yeah, same as the previous hack, just smarter).

In that case you should script a timer FOR EACH individual vehicle in the server(don't loop through them in a single timer). First of all, you're first checking if the vehicle has a driver. When you find the desired vehicle, check it's HP. If it's less than 1000, then store that variable(or somehow remember the vehicle). When the timer executes again for that vehicle, if it's HP is 1000, then you should ban the player. HOWEVER, you also need to check if they are not in range of modding garages, or Pay n Sprays. You might ban him for sparying his vehicle. So, yeah, seems hard, but it's not that hard.
Reply


Messages In This Thread
Detect invincible vehicle ? - by vardanega - 24.06.2013, 08:32
Re: Detect invincible vehicle ? - by Cjgogo - 24.06.2013, 09:01
Re: Detect invincible vehicle ? - by park4bmx - 24.06.2013, 09:13
Re: Detect invincible vehicle ? - by Vrag - 24.06.2013, 09:16
Re : Detect invincible vehicle ? - by vardanega - 24.06.2013, 10:43
Re: Detect invincible vehicle ? - by Kyle - 24.06.2013, 10:47
Re: Detect invincible vehicle ? - by introzen - 24.06.2013, 11:30
Re : Detect invincible vehicle ? - by vardanega - 28.06.2013, 06:36
Re: Detect invincible vehicle ? - by park4bmx - 28.06.2013, 09:53
Re : Detect invincible vehicle ? - by vardanega - 28.06.2013, 10:47

Forum Jump:


Users browsing this thread: 2 Guest(s)