edgyaf/samp-ac-black-diamond
Anti-cheat for SA-MP supporting the latest versions.
Este repositório não tem arquivo de licença. Ele é público para leitura, mas isso sozinho não dá permissão para reutilizar.
README.md
AC Black Diamond
Anti-cheat for SA-MP supporting the latest versions.
[!NOTE] This anti-cheat relies on features that are available only in 0.3.7-R2 and newer versions. 0.3.7 (R1) is supported only if the server is running open.mp server and the player is using open.mp launcher. Mobile client is not supported.
[!WARNING] The -omp version is intended for use on the open.mp server.
Anti-cheat improved by me. Due to the nature of the detection methods used, the main file is released only as AMX. If you have any doubts about its contents, analyze it with any HEX editor or ask your questions in the Issues section.
How to use
- Upload
AC_Black_Diamond.amxto yourfilterscriptsdirectory. - Add it to
server.cfgorconfig.json. - Include
AC_Black_Diamondin your gamemode or any script where you want to use the provided API.
Check test.pwn for a full example of usage.
API
Functions
ACBD_ToggleConnectionMessage(bool:toggle);
Allows you to toggle the display of a message indicating the use of anti-cheat when entering the server. We do not force you to display it, but we would appreciate it if you leave it on.
Callbacks
public OnOldVersionDetected(playerid)
Called when the player uses an old version of the client not supported by anti-cheat. It is recommended to kick the player out and ask them to use open.mp launcher or update their SA-MP version.
public OnImprovedDeagleDetected(playerid)
Called when the player uses ImprovedDeagle, a cheat similar to auto cbug that allows very fast shooting.
public OnExtraWsDetected(playerid)
Called when the player uses ExtraWS, which blocks the restoration of the default camera after a shot is fired, and also adds infinite zoom to the sniper rifle.
public OnS0beitDetected(playerid)
Called when the player uses s0beit. It is recommended to block players who use this.
public OnSampfuncsDetected(playerid)
Called when the player uses SAMPFUNCS, which is an API used by many cheats.
public OnSprintHookDetected(playerid)
Called when the player uses SprintHook, which allows the player to automatically run very fast.
public OnModsDetected(playerid)
Called when the player uses CLEO and derived modifications.
public OnBypassDetected(playerid)
Called when the player uses software that attempts to bypass the anti-cheat. It is recommended to block such a player.
public OnSilentAimDetected(playerid)
Called when the player uses Silent Aim. Very useful even for more advanced types of this cheat.
Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página