Library★ 3updated Mar 2025No licencePawnsampctl
Open on GitHubThis repository has no licence file. It is public to read, but that alone does not give permission to reuse it.
Install with sampctl
sampctl package install PateeerQ/samp-basic-ac
Run this in your project folder. sampctl downloads the package and what it depends on.
Try it in the Pawn compiler →
Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.
Depends on 1 package
- sampctl/samp-stdlibnot in this directory
README.md
SAMP Basic Anti Cheat (Archived)
A SAMP Basic Anti Cheat - Plug and Easy to Use
Anti Cheat Including
- Money Hack
- Health Hack
- Armour Hack
- Weapon Hack
Callback & Function
// Callback
public OnPlayerCheat(playerid, cheatid)
// Function
GetCheatName(cheatid)
GetPlayerWeaponVar(playerid)
GetPlayerAmmoVar(playerid)
Usage
#include <a_samp>
#include <PAC>
public OnPlayerCheat(playerid, cheatid)
{
new name[MAX_PLAYER_NAME + 1];
GetPlayerName(playerid, name, sizeof(name));
printf("%s(%d) has possibly using '%s'", name, playerid, GetCheatName(cheatid));
return 0; // always return 0 for desync the player.
}
This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing