SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 27/02/2013, 06:42 AM   #1
Glad2BeHere
Gangsta
 
Glad2BeHere's Avatar
 
Join Date: Oct 2012
Posts: 759
Reputation: 136
Default System AntiCheat V2.0 Last Version

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 > http://forum.sa-mp.com/showthread.php?t=92679%29
Ysi > http://forum.sa-mp.com/showthread.php?t=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......

Last edited by Glad2BeHere; 04/03/2013 at 07:34 PM.
Glad2BeHere is offline   Reply With Quote
Old 27/02/2013, 06:46 AM   #2
Jewell
Big Clucker
 
Jewell's Avatar
 
Join Date: Jan 2013
Posts: 136
Reputation: 23
Default Re: System AntiCheat V1.1

Nice work
Jewell is offline   Reply With Quote
Old 27/02/2013, 06:53 AM   #3
rangerxxll
Gangsta
 
rangerxxll's Avatar
 
Join Date: Aug 2011
Posts: 882
Reputation: 59
Default Re: System AntiCheat V1.1

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.
__________________

Server Website: http://www.pgagaming.net/forums/
Server IP:87.98.241.207:7024
rangerxxll is offline   Reply With Quote
Old 27/02/2013, 02:22 PM   #4
Glad2BeHere
Gangsta
 
Glad2BeHere's Avatar
 
Join Date: Oct 2012
Posts: 759
Reputation: 136
Default Re: System AntiCheat V1.1

@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....
Glad2BeHere is offline   Reply With Quote
Old 27/02/2013, 02:36 PM   #5
Glad2BeHere
Gangsta
 
Glad2BeHere's Avatar
 
Join Date: Oct 2012
Posts: 759
Reputation: 136
Default Re: System AntiCheat V1.1

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
Glad2BeHere is offline   Reply With Quote
Old 27/02/2013, 02:54 PM   #6
tyler12
High-roller
 
tyler12's Avatar
 
Join Date: May 2011
Location: England
Posts: 1,020
Reputation: 239
Default Re: System AntiCheat V1.1

Hook the functions?
__________________
tyler12 is offline   Reply With Quote
Old 27/02/2013, 03:39 PM   #7
Glad2BeHere
Gangsta
 
Glad2BeHere's Avatar
 
Join Date: Oct 2012
Posts: 759
Reputation: 136
Default Re: System AntiCheat V1.1

http://forum.sa-mp.com/showthread.php?t=166016%29
Glad2BeHere is offline   Reply With Quote
Old 28/02/2013, 11:29 AM   #8
DaRk_RaiN
Gangsta
 
DaRk_RaiN's Avatar
 
Join Date: Sep 2012
Posts: 973
Reputation: 207
Default Re: System AntiCheat V1.1

Nice job, repped.
DaRk_RaiN is offline   Reply With Quote
Old 28/02/2013, 04:40 PM   #9
DarkB0y
Huge Clucker
 
Join Date: Dec 2011
Posts: 365
Reputation: 38
Default Re: System AntiCheat V1.1

nice job keep it up
__________________
DarkB0y is offline   Reply With Quote
Old 28/02/2013, 11:40 PM   #10
Fenky
Big Clucker
 
Fenky's Avatar
 
Join Date: Nov 2012
Location: Wenzhou, China (GMT+8)
Posts: 59
Reputation: 8
Default Re: System AntiCheat V1.1

Does it work for speed hacking,
Airbrk, teleport, repair car hacking, swim-flying?
Fenky is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS] Zadmin v3.0 | Admin system (101 cmds) + Anticheat,flood,ping,swear... | by Zuc [ZFM]Zuc Filterscripts 136 13/03/2017 02:13 PM
-AntiCheat System geohareas Scripting Help 5 08/01/2013 07:38 PM
[FilterScript] [FS]Zadmin2.0|Admin System + Anticheat + Anti-flood + Anti high ping [ZFM]Zuc Filterscripts 32 18/06/2012 06:29 PM
AntiCheat [HELP] Sting. Scripting Help 12 19/04/2012 07:45 AM
[FilterScript] [FS] ZAdmin v1.0 | ADMIN SYSTEM + REGISTER + ANTICHEAT + ANTIFLOOD + ANTISWEAR. [ZFM]Zuc Filterscripts 24 25/05/2011 10:19 AM


All times are GMT. The time now is 12:34 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.