[Include] System AntiCheat V1.1
#1

LINK: #include <admin> Version 2.0[FINAL RELEASED]

This System Was Designed To Stop hackers
From:
Money/Weapons/Armour/Health....

What Can you expect in updated version:
SpeedHacks
Teleport Hacks
Updating any bugs found....

pawn Code:
#include <                a_samp                                            >
#include <                YSI\y_hooks                                       >
#include <                foreach                                           >
foreach > https://sampforum.blast.hk/showthread.php?tid=92679%29
Ysi > https://sampforum.blast.hk/showthread.php?tid=61548

Here is a list of linking variables.... to link to your server......
pawn Code:
enum SInfo
{
  SMoney,
  Float: SArmour,
  Float: SHealth,
  SWeapon[13],
  SAmmo[13],
  SBan
}
new System[MAX_PLAYERS][SInfo];
pawn Code:
native Log(fileName[], input[]);
native FName(playerid);



native GivePlayerCash(playerid, money);
native ResetPlayerCash(playerid);
native GetPlayerCash(playerid);
native SetPlayerCash(playerid, money);

native GiveWeapon(playerid, weaponid, ammo);

native GiveHealth(playerid, Health);
native GiveArmour(playerid, Armour);

native SHIP(playerid);
native AddBan(playerid);
native CheckBan(ip[]);
native AddRangeBan(PIP[]);
Here is an example script
pawn Code:
#include <a_samp>
#include <admin>


new Money[playerid];

public OnPlayerSpawn(playerid)
{
    System[playerid][SMoney] = Money;
    return 1;
}

/*

   This System was designed to be used with variables....
   Please Make Suggestions And Post Bugs So I Can Work On it
*/
1.7
pawn Code:
#define ReturnText 0 // change this if ur onplayertext return isnt 0 either change it to the values are 0 / 1
Found a bug Please Make a reply below here and i will have a look at it......
Reply
#2

Nice work
Reply
#3

I'm a bit of a new when it comes to using includes. So please forgive me.

How would I add this to my script, so if a player gets a weapon via a admin command (/giveweapon) then he wouldn't get banned?

And if a player uses a cheating program to use a weapon, what do I add into the script so he'll be banned?

Thanks.
Reply
#4

@ranger Actual No i would not u see i developed natives.....
First if u watch the example all u need to do is link the variables in ur script to the data.......
Secondly if u read the natives.... u would see i replace every feature u have givegun....so if u have a feature eg

giveplayerweapon just replace with give player gun....
Reply
#5

UPDATED TO 1.4 ...... Added to
pawn Code:
native GiveHealth(playerid, Health);
native GiveArmour(playerid, Armour);
And Cleaned up a few i personally found while testing with someone
Reply
#6

Hook the functions?
Reply
#7

https://sampforum.blast.hk/showthread.php?tid=166016%29
Reply
#8

Nice job, repped.
Reply
#9

nice job keep it up
Reply
#10

Does it work for speed hacking,
Airbrk, teleport, repair car hacking, swim-flying?
Reply
#11

nope..... i am working on other features..... and thank you for more ideas
Reply
#12

V1.7
Anti advertising - Stop server ads...
How is this cheating
Cuz they cheating the system by making u lose players... And getting servers for there....
#cheatfromallaspects

pawn Код:
#define ReturnText 0
1.7[Download]

please change the return value in respect of yours because.... The one is includes matters it WILL change the value of urs so please change the define.... especially if u don't want it as 0
Reply
#13

2.0[FINAL VERSION]
Anti Flying Hacks[TESTED]...... Last Version final release the road ends here .... Don't know what i would release next but it would be good thanks for all the support and people who showed the gratitude threw REP+....
Reply
#14

Good job +reped
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)