[Tutorial] Make your own SIMPLE anti-cheat system!
#6

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
pawn Код:
new ForbiddenWeapons[][] = {
38,
35,
36
};
Did you test that DOUBLE array? [][] < that

Also, a suggestion for the a_GivePlayerMoney thingy:

pawn Код:
#define GivePlayerMoney a_GivePlayerMoney
#define SetPlayerMoney a_SetPlayerMoney
#define ResetPlayerMoney a_ResetPlayerMoney //If using it
Also some (possible) additions:
Basic health and armour hack, works like:
Quote:

Keep a variable that updates only when the player's HP gets higher by the script, like when he spawns or at SetPlayerHealth and stuff. Then check after some times if his HP is higher then the 'scripts' HP variable, and if it is, ban him. If it's lower then the script's variable, set the variable according to that HP.

Note that there's a high chance for this not working with HP, think about sprunk machines and crap. For armor, watch out for pickups and ammunations.

Jetpack hacking using OnPlayerStateChange, but beware of pickups yet again.

Speed hacks, thanks to GetVehicleVelocity pretty accurate. Stunting servers, don't try this.
Reply


Messages In This Thread
Make your own SIMPLE anti-cheat system! - by Kwarde - 31.10.2010, 16:37
Re: Make your own SIMPLE anti-cheat system! - by Jantjuh - 31.10.2010, 16:49
Re: Make your own SIMPLE anti-cheat system! - by Miado_Hulk - 31.10.2010, 17:17
Re: Make your own SIMPLE anti-cheat system! - by HyperZ - 31.10.2010, 17:28
Re: Make your own SIMPLE anti-cheat system! - by ExEx - 31.10.2010, 17:34
Re: Make your own SIMPLE anti-cheat system! - by Hiddos - 31.10.2010, 18:21
Re: Make your own SIMPLE anti-cheat system! - by Kwarde - 01.11.2010, 06:24
Re : Make your own SIMPLE anti-cheat system! - by Islam_Gerland_99 - 12.07.2012, 15:38
Re: Re : Make your own SIMPLE anti-cheat system! - by doreto - 13.07.2012, 08:45
Re: Make your own SIMPLE anti-cheat system! - by shayan122 - 13.07.2012, 08:48

Forum Jump:


Users browsing this thread: 7 Guest(s)