samp@phazer 7ca5050e5d init 2 vuotta sitten
..
y_ac@do_compiler_long_fix 7ca5050e5d init 2 vuotta sitten
LICENSE 7ca5050e5d init 2 vuotta sitten
NOTES.md 7ca5050e5d init 2 vuotta sitten
README.md 7ca5050e5d init 2 vuotta sitten
y_ac.inc 7ca5050e5d init 2 vuotta sitten

README.md

SA-MP Anticheat

This library provides protection against popular hacks.

Building

You can build this library using the Python utility located in pawncc/builder.py. This utility merges all components in one single file. Sample of usage: pawncc/builder.py ./src ./Anticheat.inc

Installation

For this library to run normally it requires a master script. The master script represents the place where data is handled and the actual cheat detection process occurs. Additionally, if there is more than one script that modifies vital information the anticheat must be included in those aswell. Those scripts are called slave scripts.

WARNING! If there is more than one master instance per server the server might report players that aren't actually cheating.

  1. Include the Anticheat in your script:

    • Master (core):

      #define ANTICHEAT_MASTER
      #include <Anticheat>
      
    • Slave:

      #define ANTICHEAT_SLAVE
      #include <Anticheat>
      
  2. Compile your script.

For more advanced information about this library, please read NOTES.md.