/*
=======================================
	FcukIt Anti-Cheat v1.2
 	  Coded by Scarface
=======================================
*/

Downloaded from www.ausamp.com or sa-mp.tdsgames.com (the Lethal Developments DevBlog)

I have fully tested all features of this script on both Windows and Linux/Unix based servers.
Although this is no reason why you shouldn't test it as well :D

*********************************

CONDITIONS OF USE:

The source is released for educational and server 
security purposes only. DO NOT copy or use 
any of the source code without conscent or rightful
credit to the authour. Feel free to manipulate it and
improve the code, as long as full credit is given to 
myself and any other contributors. 

Notes: 
I created this script to give a simple yet effective 
Anti-Cheat solution to the community, and to of course 
educate the coders that are still at beginner levels. 

My intent when coding the script was to keep everything
as simple as possible and to ensure it is easy to follow.

**********************************

FEATURES:

The best thing about this is that everything is practically
user configurable. Even the loops that check health and 
cash are and appropriate kick/ban timers to ensure the player
is aware of their offence. As well as Saving Kicks/Ban details to file 
Including...Date/Time, Name and Offence.

Anti:-
- BannedWeapon
- Health Hacking
- Money Hacking
- Inactivity & Pausing
- Drive-By-Abuse
- SpawnKill
- Interior Kill
- Added Disarm options to Drive-By and Spawn Killing
- "On-The-Fly" Commands to shutoff functions
- Emergency Shutdown/Restart

NEW to v1.2:
- OnPlayerDeath Overhaul
- Anti-FakeKill
- FcukIt++ (Advanced Anti-Money Cheat)


**********************************

CONFIGURATION:

A-Health 1 - 0(Health Check Disabled) 1(Kick on Health Cheat) 2(Ban on Health Cheat)
etc. 

Max-Cash-Increase 20000 - The maximum level that the cash can increase in the given timeframe (cCheck-Time)
DB-Kills 3 -              The DB kill level in which action is taken (kick/ban)
Inactive-Period 30 -      The Timeframe in which players are allowed to be inactive up to. (Seconds)
hCheck-Time 15 -          How often the script checks for Health Cheaters. (Seconds)
cCheck-Time 10 -          How often the script checks for Money Cheaters.(Seconds)
Spawn-Kill-Time 10 -      The length of the spawn kill timer (Seconds)
Max_Spawn_kills 2 -       "OnKick" Spawn Kills (eg 2, Kicks on second spawn kill)

//Banned Weapon List: (-1 = Disabled) | Relatively Straight Forward | Up to 8 Banned Weapons
Weapon1 24
Weapon2 26
Weapon3 32
Weapon4 -1
Weapon5 -1
Weapon6 -1
Weapon7 -1
Weapon8 -1

FcukIt++ Configuration
- aCash=0 (0 = Disabled, 1 = Kick, 2 = Ban)
- LOOP_TIME How often the CashCheck is performed 

IMPORTANT: 
Please ensure that you have changed GivePlayerMoney() & ResetPlayerMoney() with
FcukIt_GivePlayerMoney() && ResetPlayerMoney()

#include <FcukIt++> // Add this at the start of your script where everything else is defined. 

Also Add:
FcukIt_INIT // Add to OnGameModeInit()
FcukIt_DISCONNECT // Add to OnPlayerDisconnect()

--------------------

COMMANDS:
/f-shutdown  - Emergency Shutdown Disables entire Script
/f-restart - Restarts Script with Loaded Settings
/f-health - Disables health check
/f-driveby - Disables Anti-DriveByAbuse
/f-cash - Disables Cash Check
/f-inactive - Disables Inactivity Check
/f-bweapons - Disables BannedWeapon Check
/f-skill - Disables Anti-SpawnKill

BROUGHT TO YOU BY [LETHAL DEVELOPMENTS]