root 636f6c5479 Init пре 2 година
..
y_ac@do_compiler_long_fix 636f6c5479 Init пре 2 година
LICENSE 636f6c5479 Init пре 2 година
NOTES.md 636f6c5479 Init пре 2 година
README.md 636f6c5479 Init пре 2 година
y_ac.inc 636f6c5479 Init пре 2 година

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.