Quote:
Originally Posted by MoroJr™
pastebin please
|
You can't read the pawn tags above? And from what you know, I doubt you can help at all.
Quote:
Originally Posted by Clum`
Quote:
Originally Posted by Fatal
pawn Код:
public AntiCheat(playerid) { for (new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new gun,ammo; for(new w; w < 13; w++) { GetPlayerWeaponData(i,w,gun,ammo); if(gun) // Huh? { for(new g; g < sizeof(HackWeapons); g++) { if(gun == HackWeapons[g]) { JailPlayer(i); new string[64]; format(string, sizeof(string), "[ANTI-CHEAT] %s has been kicked for weapon hacking!", pName(playerid)); KickLog(string); SendClientMessageToAll(ADMIN_RED, string); Kick(i); } } } } } } }
|
|
The original code was by 90nine, I modified it a bit. You can ignore that, I'll remove it after getting this bugged fixed..