Las Venturas Playground
Anti-Cheat System / logout cmd [EDIT POST] - Printable Version

+- Las Venturas Playground (https://forum.sa-mp.nl)
+-- Forum: Main Talk (https://forum.sa-mp.nl/forum-3.html)
+--- Forum: Development (https://forum.sa-mp.nl/forum-16.html)
+--- Thread: Anti-Cheat System / logout cmd [EDIT POST] (/thread-33657.html)

Pages: 1 2


Anti-Cheat System / logout cmd [EDIT POST] - [PK]Ignatius - 12-04-2016

Hello!
I'm New this is my first Suggestion
In this post I want to suggest working anti-cheat system because I can see the server has no anti-cheat system if there is it is working slow. I saw a hacker he is using aimbot, rapid shot, speed cheating and flying a car and that time there's no online admin and he didn't get banned because no anti-cheat system / slow anti-cheat system.

[EDIT POST] I will add to my suggestion adding a /logout cmd and when quiting save all weapons that have been bought and the money will be save too and all the buildings that you buy will be saved and the skin will be saved when quitting that's all Thank You!


RE: Anti-Cheat System - Batata45 - 12-04-2016

Use /report, admins on IRC see the reports, and even if there isn't an admin, there might be one undercover, or they'll just connect
Also, having an anticheat is cool, but that would increase false bans (i guess there is some anticheat forlike fakekill flood etc)


RE: Anti-Cheat System - zeXo_ - 12-04-2016

that anticheat would ban everyone who use /fly /boost for airbreak and speed cheating


RE: Anti-Cheat System - LukaZ - 12-04-2016

(12-04-2016, 03:52 PM)._. Wrote: that anticheat would ban everyone who use /fly /boost for airbreak and speed cheating

Yeah true, everybody can use those commands and be banned.


RE: Anti-Cheat System - [PK]Ignatius - 12-05-2016

What if in the anti-cheat just don't ban the players do /fly /boost for airbreak this commands and just ban rapid shooting, c-bugging, aimbot, vehicle spawning and god mode. Because sometimes there are no admins online


RE: Anti-Cheat System / logout cmd [EDIT POST] - LukaZ - 12-05-2016

God Mode can use the Admins the c-bug no is a cheat and regulars players can spawn vehicles,
Rapid fire no.


RE: Anti-Cheat System / logout cmd [EDIT POST] - [PK]Ignatius - 12-05-2016

(12-04-2016, 07:12 PM)[187]LukaZ[SWEG] Wrote:
(12-04-2016, 03:52 PM)._. Wrote: that anticheat would ban everyone who use /fly /boost for airbreak and speed cheating

Yeah true, everybody can use those commands and be banned.

(12-05-2016, 03:31 AM)[187]LukaZ[SWEG] Wrote: God Mode can use the Admins the c-bug no is a cheat and regulars players can spawn vehicles,
Rapid fire no.
Then Only Create an Anti-Cheat System that will ban Rapid shooting.


RE: Anti-Cheat System / logout cmd [EDIT POST] - Overdosed - 12-05-2016

Any idea how much work it is to create said "Anti-Cheat"?

If you know how to code, please share! :P


RE: Anti-Cheat System / logout cmd [EDIT POST] - [PK]Ignatius - 12-05-2016

(12-05-2016, 06:16 AM)Overdosed Wrote: Any idea how much work it is to create said "Anti-Cheat"?

If you know how to code, please share! :P
Try This this may work
Code:
#include <a_samp>

new shotTime[MAX_PLAYERS];
new shot[MAX_PLAYERS];

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Anti Rapid Fire");
    print("--------------------------------------\n");
    return 1;
}

public OnPlayerConnect(playerid)
{
    shotTime[playerid] = 0;
    shot[playerid] = 0;
    return 1;
}

public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(weaponid != 38)
    {
        if((gettime() - shotTime[playerid]) < 1)
        {
            shot[playerid]+=1;
        }
        else
        {
            shot[playerid]=0;
        }
        if(shot[playerid] > 10)
        {
            Kick(playerid);
        }
        shotTime[playerid] = gettime();
    }
   return 1;
}



RE: Anti-Cheat System / logout cmd [EDIT POST] - Death$tar - 12-05-2016

Nex Anticheat (Nex-AC) - is a comprehensive protection which combines powerful anti-cheat and protection against various attacks (flood, DoS).
Anti-cheat detects popular cheats instantly punishing cheaters.
Anti-DoS combines customizable anti-flood, anti-DoS at the network level and a lot of protection tools against hacking, crashers etc.

List of basic anti-cheats:
* Anti-AirBreak (onfoot/in vehicle)
* Anti-teleport hack (onfoot/into/in/between vehicles)
* Anti-teleport pickups
* Anti-FlyHack (onfoot/in vehicle)
* Anti-SpeedHack (onfoot/in vehicle)
* Anti-Health hack (onfoot/in vehicle) and armour hack
* Anti-Weapon hack and (add/infinite) ammo hack
* Anti-Special actions hack (including jetpack)
* Anti-GodMode from bullets (onfoot/in vehicle)
* Anti-Invisible hack
* Anti-Money hack
* Anti-Tuning hack
* Anti-lagcomp-spoof
* Anti-Parkour mod
* Anti-Quick turn
* Anti-Rapid fire
* Anti-FakeSpawn
* Anti-FakeKill
* Anti-Pro Aim
* Anti-CJ run
* Anti-CarShot
* Anti-CarJack
* Anti-UnFreeze
* Anti-AFK Ghost
* Anti-Reconnect
* Anti-High ping
* Anti-Fake NPC
* Anti-Dialog hack
* Protection from the sandbox
* Protection against invalid version
* Anti-flood change seat
* Flood protection connects to one slot
* Anti-Rcon hack (brute/brute-forse)
* Anti-flood callback functions (complete list below)
* Anti-crashers (complete list below)
* Anti-NOP's (complete list below)
* Anti-Dos

Additional features:
● Setting anti-cheat from file
The settings is located in a separate file (scriptfiles\nex-ac_settings.cfg)
● View Statistics
Ability to view statistics of the anti-cheat while the server working since its launch
Displayed automatically when server turn off. Stored in a server log (server_log.txt)
● Logging the most important actions
Optionally you can enable debug-mode for log all actions
● Multilingual
Ability to set any of the available languages.
It also simplifies the translation of anti-cheat to other languages

List of publics which are protected by anti-flood:
* OnDialogResponse
* OnEnterExitModShop
* OnPlayerClickMap
* OnPlayerClickPlayer
* OnPlayerClickTextDraw
* OnPlayerCommandText
* OnPlayerEnterVehicle
* OnPlayerExitVehicle
* OnPlayerPickUpPickup
* OnPlayerRequestClass
* OnPlayerSelectedMenuRow
* OnPlayerStateChange
* OnVehicleMod
* OnVehiclePaintjob
* OnVehicleRespray
* OnVehicleDeath
* OnPlayerText
* OnPlayerEnterCheckpoint
* OnPlayerLeaveCheckpoint
* OnPlayerRequestSpawn
* OnPlayerExitedMenu
* OnPlayerEnterRaceCheckpoint
* OnPlayerLeaveRaceCheckpoint
* OnPlayerClickPlayerTextDraw
* OnVehicleDamageStatusUpdate
* OnPlayerSelectObject

Anti-NOP's:
* SpawnPlayer
* SetPlayerPos
* SetVehiclePos
* SetPlayerAmmo
* SetPlayerHealth
* SetPlayerArmour
* SetVehicleHealth
* GivePlayerWeapon
* SetPlayerInterior
* PutPlayerInVehicle
* ResetPlayerWeapons
* SetPlayerArmedWeapon
* SetPlayerSpecialAction
* TogglePlayerSpectating
* RemovePlayerFromVehicle

Anti-Crashers:
* Invalid tuning
* Invalid vehicle seat
* Illegal characters in the dialogues (deleting)
* Invalid attached objects
* Weapon Crasher

Functions:
Code:
public OnCheatDetected(playerid, ip_address[], type, code)
Called when the tripped one of the anti-cheats
playerid - ID of the cheater
ip_address[] - IP-address of the cheater
type - Type of offense (when 0 returns the ID, when 1 - IP)
code - Code (ID) of the anti-cheat

EnableAntiCheat(acid, enable)
Use to enable/disable one of the anti-cheats
acid - ID of the anti-cheat
enable - 1 to enable/0 to disable

EnableAntiCheatForPlayer(playerid, acid, enable)
Use to enable/disable one of the anti-cheats for a particular player
playerid - ID of the player who needs for enable/disable the anti-cheat
acid - ID of the anti-cheat
enable - 1 to enable/0 to disable


Added in v1.3:

IsAntiCheatEnabled(acid)
Use to check enable/disable one of the anti-cheats
acid - ID of the anti-cheat
Return 1 (true) if enabled or 0 (false) if disabled

IsAntiCheatEnabledForPlayer(playerid, acid)
Use to check enable/disable one of the anti-cheats for a particular player
playerid - ID of the player who needs for check enable/disable the anti-cheat
acid - ID of the anti-cheat
Return 1 (true) if enabled or 0 (false) if disabled


Added in v1.8.8:

AntiCheatGetHealth(playerid, &Float:health)
Use to get the amount of the player's health
playerid - The ID of the player
&Float:health - Variable for storage health, passed by reference

AntiCheatGetArmour(playerid, &Float:armour)
Use to get the amount of the player's armour
playerid - The ID of the player
&Float:armour - Variable for storage armour, passed by reference

AntiCheatGetVehicleHealth(vehicleid, &Float:health)
Use to get the amount of the vehicle health
vehicleid - The ID of the vehicle
&Float:health - Variable for storage health, passed by reference

AntiCheatGetWeaponData(playerid, slot, &weapons, &ammo)
Use to get weapons and ammo in a certain slot of the player
playerid - The ID of the player
slot - The slot in which need get the weapons and ammo
&weapons - Variable for storage weapon ID, passed by reference
&ammo - Variable for storage amount of ammo, passed by reference

AntiCheatGetSpawnWeapon(playerid, &weapon1, &weapon1_ammo, &weapon2, &weapon2_ammo, &weapon3, &weapon3_ammo)
Use to get spawn weapons and ammo of the player
playerid - The ID of the player
&weapon1 - Variable for storage the weapon 1, passed by reference
&weapon1_ammo - The variable for storage the amount of ammo for the weapon 1, passed by reference
&weapon2 - Variable for storage the weapon 2, passed by reference
&weapon2_ammo - The variable for storage the amount of ammo for the weapon 2, passed by reference
&weapon3 - Variable for storage the weapon 3, passed by reference
&weapon3_ammo - The variable for storage the amount of ammo for the weapon 3, passed by reference

AntiCheatGetPos(playerid, &Float:x, &Float:y, &Float:z)
Use to get the player's position
playerid - The ID of the player
&Float:x - The variable for storage the x coordinate, passed by reference
&Float:y - The variable for storage the y coordinate, passed by reference
&Float:z - The variable for storage the z coordinate, passed by reference

AntiCheatGetSpeed(playerid, &Float:speed)
Use to get the player's speed
playerid - The ID of the player
&Float:speed - Variable for storage the speed, passed by reference

AntiCheatGetVehicleVelocity(vehicleid, &Float:x, &Float:y, &Float:z)
Use to get the vehicle speed
vehicleid - The ID of the vehicle
&Float:x - The variable for storage the x speed, passed by reference
&Float:y - The variable for storage the y speed, passed by reference
&Float:z - The variable for storage the z speed, passed by reference

AntiCheatGetAnimationIndex(playerid)
Use to get the index (ID) of the player's current animation
playerid - The ID of the player
Returns the ID of the animation or 0 if the player is not connected

AntiCheatGetDialog(playerid)
Use to get the ID of the opened dialog of the player
playerid - The ID of the player
Returns the ID of the dialog or 0 if the player is not connected

AntiCheatGetMoney(playerid)
Use to get the amount of the player money
playerid - The ID of the player
Returns the amount of money or 0 if the player is not connected

AntiCheatGetClass(playerid)
Use to get ID of the class of the player
playerid - The ID of the player
Returns the class ID or 0 if the player is not connected

AntiCheatGetEnterVehicle(playerid)
Use to get the ID of the vehicle, which player try to enter
playerid - The ID of the player
Returns the ID of the vehicle or 0 if the player is not connected

AntiCheatGetVehicleID(playerid)
Use to get the ID of the vehicle, in which sits the player
playerid - The ID of the player
Returns the ID of the vehicle or 0 if the player is not connected

AntiCheatGetWeapon(playerid)
Use to get the player's current weapon ID
playerid - The ID of the player
Returns the ID of weapon or 0 if the player is not connected

AntiCheatGetVehicleSeat(playerid)
Use to get the seat in the vehicle, on which sits the player
playerid - The ID of the player
Returns the number of the seat or 0 if the player is not connected

AntiCheatGetSpecialAction(playerid)
Use to get the ID of the special action of the player
playerid - The ID of the player
Returns the ID of the special action or 0 if the player is not connected

AntiCheatGetLastSpecialAction(playerid)
Use to get the ID of the previous special action of the player
playerid - The ID of the player
Returns the ID of the previous special action or 0 if the player is not connected

AntiCheatGetLastShotWeapon(playerid)
Use to get the ID of the last weapon from which the player shot
playerid - The ID of the player
Returns the ID of the last weapon or 0 if the player is not connected

AntiCheatGetLastPickup(playerid)
Use to get the ID of the last pickup, which player pick
playerid - The ID of the player
Returns the ID of the last picked up pickup or 0 if the player is not connected

AntiCheatGetLastUpdateTime(playerid)
Use to get the player's last update timestamp
playerid - The ID of the player
Returns the timestamp of the last update or 0 if the player is not connected

AntiCheatGetLastReloadTime(playerid)
Use to get the player's last (weapon) reload timestamp
playerid - The ID of the player
Returns the timestamp of the last reload or 0 if the player is not connected

AntiCheatGetLastEnteredVehTime(playerid)
Use to get the player's last entering vehicle attempt timestamp
playerid - The ID of the player
Returns timestamp of the last entering attempt or 0 if the player is not connected

AntiCheatGetLastShotTime(playerid)
Use to get the player's last shot timestamp
playerid - The ID of the player
Returns the timestamp of the last shot or 0 if the player is not connected

AntiCheatGetLastSpawnTime(playerid)
Use to get the player's last spawn timestamp
playerid - The ID of the player
Returns timestamp of the last spawn or 0 if the player is not connected

AntiCheatIntEnterExitsIsEnabled(playerid)
Use to check enable/disable enter/exit markers in interiors for the player
playerid - The ID of the player
Returns 1 (true) if enabled or 0 (false) if disabled

AntiCheatStuntBonusIsEnabled(playerid)
Use to check enable/disable stunt bonus for player
playerid - The ID of the player
Returns 1 (true) if enabled or 0 (false) if disabled

AntiCheatIsInModShop(playerid)
Use to check: whether the player is in ModShop or not
playerid - The ID of the player
Returns 1 (true) if it is or 0 (false) if it is not

AntiCheatIsFrozen(playerid)
Use to check: whether the player is frozen or not
playerid - The ID of the player
Returns 1 (true) if frozen or 0 (false) if not frozen

AntiCheatIsDead(playerid)
Use to check: whether the player is dead or not
playerid - The ID of the player
Returns 1 (true) if dead or 0 (false) if not dead

AntiCheatIsConnected(playerid)
Use to check: whether the player is on a server or not
playerid - The ID of the player
Returns 1 (true) if it is or 0 (false) if it is not


Multilingual:
The script can be configured at any of the available languages. To do this, just download the link the desired localization, save it in a directory with the main include (nex_ac.inc) and recompile your script.

Available languages:
● Russian (RU) (v1.0 - 1.9.10): Solidfiles 4shared Pastebin
● Belarusian (BY) (v1.0 - 1.9.10): Solidfiles 4shared Pastebin
● English (EN) (v1.0 - 1.9.10):
● Solidfiles 4shared Pastebin
● Solidfiles Pastebin (by KyleSmith)
● German (DE) (v1.0 - 1.9.10): Solidfiles Pastebin (by Carper)
● Dutch (NL) (v1.0 - 1.9.10): Solidfiles Jstylezzz.com Pastebin (by Jstylezzz)
● Italian (IT) (v1.0 - 1.9.10): Solidfiles Pastebin (by J4Rr3x)
● Spanish (ES) (v1.0 - 1.9.10):
● Solidfiles Pastebin (by Alex Westbrook)
● Solidfiles Pastebin (by JustBored)
● Georgian (GE) (v1.0 - 1.9.10): Solidfiles Pastebin (by lashona)
● Polish (PL) (v1.0 - 1.9.10): Solidfiles Pastebin (by wampiros6)
● Serbian (RS) (v1.0 - 1.9.10):
● Solidfiles Pastebin (by DeitY)
● Solidfiles Pastebin (by Dragony92)
● Portuguese (PT/BR(v1.0 - 1.9.10): Solidfiles Pastebin (by NicK_)
● Persian (Farsi) (FA) (v1.0 - 1.9.10)Solidfiles Pastebin (by M4D)
● Ukrainian (UA) (v1.0 - 1.9.10)Solidfiles Pastebin (by Valera_Kovshikov)
● Indonesian (ID) (v1.0 - 1.9.10)Solidfiles Pastebin (by RaefaldhiAmartya)
● Croatian (HR) (v1.0 - 1.9.10)Solidfiles Pastebin (by vannesenn)
● French (FR) (v1.0 - 1.9.10):
● Solidfiles Pastebin (by j3rry)
● Solidfiles Pastebin (by vic1997)
● Lithuanian (LT) (v1.0 - 1.9.10)Solidfiles Pastebin (by zaibaslr2)
● Romanian (RO) (v1.0 - 1.9.10)Solidfiles Pastebin (by UnforgiveNNN)
● Hungarian (HU) (v1.0 - 1.9.10)Solidfiles Pastebin (by Pedro.)
● Finnish (FI) (v1.0 - 1.9.10)Solidfiles Pastebin (by Ben_Lovejoy)
● Latvian (LV) (v1.0 - 1.9.10)Solidfiles Pastebin (by Rengar)
● Bulgarian (BG) (v1.0 - 1.9.10)MediaFire Solidfiles Pastebin (by bgedition)
● Turkish (TR) (v1.0 - 1.9.10)Solidfiles Pastebin (by Jensenn)

.lang files can be opened even in a standard notepad and easy to edit

Did not find your language? Help the project :)
If you good know a language that is not in the list, please translate anti-cheat on this language. To do this, just leave the translated .langfile in this thread.
I will be very glad of your help and will add you in the list of those who have helped the development of the anti-cheat.

It is also recommended to check on used any other anti-cheats in order to avoid conflicts with them.

Download:
* GitHub

Installation:
1. Download version of the anticheat which compatible with the version of your server
2. Download the language file (.lang) on your preferred language
3. Copy both files to the folder "/pawno/include" which is located in the folder with the server
4. In gamemode and all filterscripts after "#include <a_samp>" write the following: "#include <nex-ac>"
Warning! If you are using a Streamer Plugin by Incognito, foreach or y_hooks, include it before nex-ac!
Also keep in mind that filterscript must have "#define FILTERSCRIPT" before including anticheat
5. Compile the modified scripts

You gets an error when you compiling this anticheat with YSI? Check out some tips

Changelog:
Code:
v1.0
* Initial release

v1.1
Changes:
* Compatible with Streamer Plugin
* Compatible with y_hooks
* Minor optimization

Fixes:
* Increased certain values and the distance considering ping
* Fixed a bug with a pick up similar weapons on the pickups
* Fixed a bug with a kick when spawn and then install the player position/interior
* Fixed a bug with a kick when spawn and then install the player weapons (if used AddPlayerClass/Ex)
* Fixed crash when calling ShowPlayerDialog in CallRemoteFunction

v1.2
Changes:
* Compatible with y_dialog
* Additional compatibility with foreach

Fixes:
* Fixed several bugs in Anti-God Mode
* Fixed a bug with a kick during prolonged shooting a minigun
* Fixed display of statistics and reports about kick
* Tweaked Belarusian localization

Now it is available on GitHub! (by popular demand)

v1.3
Changes:
* Added "#define USE_QUERY" (true by default)
** If your server is under Brute-force attack - for better protection USE_QUERY value can be changed to false
** Attention! If false, the server will not display the information in the server browser, so use in extreme cases!
* Added features IsAntiCheatEnabled and IsAntiCheatEnabledForPlayer

Fixes:
* Fixed load anticheat configuration from config-file
* Increased some values in favor of players with high ping
* Rcon protection (against Brute-force) now also dynamically enabled/disabled by function EnableAntiCheat
* Fixed minor bugs in the anti-cheats on ammo hack, RapidFire, SpeedHack in vehicle, Anti-GodMode on foot and in vehicle

v1.4
Changes:
* Compatible with Socket Plugin
* Removed some anti-crashers (which are fixed in the new version r2)
* Improved anti-tuning hack: now detects free tuning in ModShops
* Improved anti-carshot

Fixes:
* Tweaked some values in the anti-flood
* Fixed several bugs in anti-weapon hack
* Fixed a bug where all the cars could have a siren
* Fixed a bug in the anti-teleport hack with a kick at the entrance to ModShop
* Fixed a bug in the anti-GodMode onfoot with a kick if the bullets were desync

v1.5
Changes:
* Improved interaction with anticheat by OnCheatDetected
* Improved Anti-ProAim: now detects Silent-Aim
* Removed error when compiling, if you have not included the localization
* Minor optimization

Fixes:
* Fixed compatibility with Streamer Plugin
* Fixed compatibility with a foreach from last YSI
* Improved Anti-GodMode onfoot and Anti-GodMode in vehicle
* Fixed a bug in Anti-FlyHack with a kick when jumping on a bike
* Fixed some bugs in Anti-Invisible hack

v1.6
Changes:
* Improved compatibility with y_hooks in the latest YSI
* Improved Anti-Rapid fire: now detects fast reload
* For security reasons, added a few Anti-Aim crashers
* Added check when compiling for compatibility with the server version
* OnCheatDetected is now called even for those detects, which are don't kick by default
* Anti-UnFreeze hack is now disabled by default

Fixes:
* Fixed a bug in Anti-Teleport into vehicle with enter closed vehicle
* Fixed protection against Rcon hack (in game)
* Fixed function EnableAntiCheat

v1.7
Changes:
* Updated Anti-Tuning crasher
* Additional compatibility with sscanf
* Improved compatibility with other scripts

Fixes:
* Fixed compatibility with Streamer Plugin
* Fixed Anti-SpeedHack, Anti-Flood and Anti-Invisible hack
* Fixed a bug in Anti-Ammo hack with ResetPlayerWeapons function

v1.8
Changes:
* Improved Anti-RapidFire: now detects Auto +C
* Minor optimization

Fixes:
* Fixed some anticheats which didn't worked properly
* Increased the maximum allowable onfoot speed
* Fixed a bug in Anti-Invalid seat crasher
* Fixed Anti-Weapon and Ammo hack

v1.8.1
Changes:
* Rewrote the Anti-Dialog crasher (%)

Fixes:
* Fixed a bug in Anti-Ammo hack with a kick for a detonator
* Fixed debug mode

v1.8.2
Fixes:
* Fixed EnableAntiCheatForPlayer function
* Fixed bugs with "#define AC_USE_<...>"

v1.8.3
Fixes:
* Fixed display messages about kick in some localizations

v1.8.4
Changes:
* Minor optimization

Fixes:
* Increased some values (considering ping)
* Fixed a bug in Anti-RapidFire with a kick for the shooting of the passenger seat
* Fixed a bug in Anti-Ammo hack with a kick for the shooting of the driver's seat

v1.8.5
Fixes:
* Fixed some checks for invalid vehicle model

v1.8.6
Changes:
* Returned some anti-crashers (which are "fixed" in version r2)

v1.8.7
Fixes:
* Fixed a bug in Anti-FlyHack (onfoot) with a kick for a jump to the water

v1.8.8
Changes:
* Improved code readability
* Minor bug fixes and improvements
* Added debug functions

Fixes:
* Fixed compatibility with the latest versions of Streamer Plugin and YSI

v1.8.9
Fixes:
* Tweaked some settings
* Fixed GivePlayerWeapon and SetPlayerAmmo functions (NOP protection)
* Fixed SetVehicleHealth function
* Fixed SetPlayerInterior function

v1.9
Changes:
* Minor improvements
* Added a hook LinkVehicleToInterior function
* Improved anti-ammo hack for Sawnoff Shotgun, 9mm, Uzi and Tec-9
* Added filterscripts support for protection against spoofing dialogs
* Rewrote the Anti-AFK Ghost

Fixes:
* Fixed RepairVehicle function
* Fixed a bug in the Anti-GodMode (in vehicle) with "Array out of bounds"
* Fixed a bug in the Anti-Godmode (in vehicle) with a kick when shooting on wheels
* Fixed a bug with SetPlayerArmedWeapon in OnPlayerTakeDamage
* Fixed a bug in the Anti-Ammo hack when shooting from the driver's seat
* Fixed an issue with the calculation of the max seat for vehicle model 483
* Fixed a bug in the Anti-Godmode (onfoot) with a kick while entering the car
* Fixed errors with "STREAMER_ENABLE_TAGS"
* Fixed several bugs in the anti-cheat on pickups

v1.9.1
Changes:
* Added compatibility with Nexius's Update Checker

v1.9.2
Changes:
* Minor improvements
* Changed some values in anti-flood

Fixes:
* Fixed a bug with a kick the player for the setting him interior in which he already is

v1.9.3
Changes:
* Removed the check for the distance when leaving the vehicle in the anti-teleport hack (due to false detects)

v1.9.4
Changes:
* Changed the punishment for teleport unoccupied vehicles

Fixes:
* Fixed a bug in anti-teleport hack
* Fixed a bug in the protection on NOP RemovePlayerFromVehicle
* Fixed anti-money hack

v1.9.5
Fixes:
* Fixed a bug in the anti-teleport hack with the setting of the interior before spawn
* Fixed hook OnPlayerClickPlayerTextDraw

v1.9.6
Changes:
* Changed some values in the anti-flood

Fixes:
* Fixed a bug in the anti-invisibility hack with spawn during spectating
* Fixed a bug in the anti-speedhack with SetVehicleToRespawn function
* Fixed compatibility with streamer checkpoints
* Fixed minor bugs

v1.9.7
Changes:
* Changed some values in anti-flood
* EnableAntiCheat(ForPlayer) and IsAntiCheatEnabled(ForPlayer) functions can be called from filterscript
* Added protection against registration bypass (an idea by f0Re3t)
* Rewritten the protection against high ping

Fixes:
* Fixed a bug in the Anti-SpeedHack with a kick for a fast ride on the train
* Fully fixed a bug with a kick for a change of interior

v1.9.8
Changes:
* AntiCheatGet* functions are now can be called from filterscripts
* Faster call hooked functions from GameMode
* Rewritten anti-money hack

Fixes:
* Fixed a bypass in anti-ammo hack for high-rate weapons
* Fixed a bypass in the anti-teleport with the ability to teleport after changing interior by server
* Fixed a bug in the anti-weapon hack with a kick when buying weapons in Ammu-Nation for the wrong price
* Fixed a bug in the protection against NOPs with a kick for take a similar weapons
* Fixed compilation errors when included in filterscript

v1.9.9
Fixes:
* Fixed several bugs in the anti-special actions hack
* Fixed a bug in the anti-weapon hack with a kick when ResetPlayerWeapons used in OnPlayerDeath
* Tweaked some values

v1.9.10
Changes:
* Removed kick function when player timeout/crashes
* Updated an array of valid tuning components for each vehicle (taken from fixes)
* Added internal checks for the arguments in GivePlayerWeapon, SetPlayerArmedWeapon functions
* Significantly improved debug mode
* Minor improvements

Fixes:
* Fixed a bug in the protection against NOPs with a kick for the attempt to enter already occupied vehicle seat
* Fixed anti-speedhack in vehicle (check the maximum speed)
* Improved anti-rapid fire for the shotgun

Due to the numerous cases of connection problems with anti-cheat, there was added a version that is compatible with the server version 0.3.7 R1
Bugs:
Currently they were not detected. If you find a bug, please write about it in this thread.

Thanks:
Magic_York, Roberto_York, TheHero, Nike_33, Vitalik_Gonsor, Mix_Rargard, Unisheld - testing
ZiGGi, Urukhay, Yashas, theYiin, RaefaldhiAmartya, PatchwerkQWER, kvann - advices on the code
Carper - German translation
Jstylezzz - Dutch translation
J4Rr3x - Italian translation
Alex Westbrook, JustBored - Spanish translation
lashona - Georgian translation
wampiros6 - Polish translation
DeitY, Dragony92 - Serbian translation
NicK_ - PT/BR translation
KyleSmith - Improve English translation
M4D - Persian (Farsi) Translation
Valera_Kovshikov - Ukrainian translation
RaefaldhiAmartya - Indonesian translation
vannesenn - Croatian translation
j3rry, vic1997 - French translation
zaibaslr2 - Lithuanian translation
UnforgiveNNN - Romanian translation
Pedro. - Hungarian translation
Ben_Lovejoy - Finnish translation
Rengar - Latvian translation
bgedition - Bulgarian translation
Jensenn - Turkish translation

This script also contains materials of third-party projects with open source.
Licensed under the GNU LGPL.

P.s. OstGot developed this script about an year ago and spent on it a lot of effort and time. I very much hope that it will be useful to you.

Enjoy! :)


________________