[Tutorial] Anti Armour Hack - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Tutorials (
https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] Anti Armour Hack (
/showthread.php?tid=453064)
Anti Armour Hack -
ScRipTeRi - 23.07.2013
Simple Anti Armour Hack
Hello guys today i will tell you how to make anti armour hack on your server.
For make anti armour hack you need to fin in your GM SetPlayerArmour(playerid, 100); and replace with SetPlayerArmour(playerid, 99);
pawn Code:
#include <a_samp>
public OnPlayerUpdate(playerid)
{
new Float:armour;
GetPlayerArmour(playerid, armour);
if(armour == 100)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"* %s was banned by System(Armour Hack)",pName);
SendClientMessageToAll(0xFF0000FF,string);
BanEx(playerid, "Armour Hack");
}
return 1;
}
i hope for you like my firist tutorial
Re: Simple anti armour hack -
doreto - 23.07.2013
Re: Anti Armour Hack -
ScRipTeRi - 23.07.2013
sorry if have anything wrong its my frist time
Re: Anti Armour Hack -
Lebo - 24.07.2013
You didn't explain anything....