Anti-Armour Check
#1

Okay Guys..I created this simple Anti-Armour Hack but I dont know what "Tag Mismatch" Means

Tell me whats wrong in here please.....

Код:
new LastArmour[MAX_PLAYERS]; //I declared this as a player's variable
Then on the 1 sec timecheck...

Код:
new Float:armour;
GetPlayerArmour(playerid,armour);
new result = armour-LastArmour[playerid];
if(result >= 30) //Im using the Godfather script and /usedrugs' gives only 26 armour!!
{
  SendClientMessage(playerid,COLOR_GREY," You are banned!");
  Ban(playerid);
}
else
{
  LastArmour[playerid] = armour; //This is where I get the "Tag Mismatch" Error.This line calibrate the new armour for next armor check
}
Please Help ME
Reply
#2

new LastArmour[MAX_PLAYERS];
Reply
#3

Ooops My mistake...Wrong post....The problem is still the Tag Mismatch error....


PS: I edited the 1st post
Reply
#4

If the person gets shot, it wont update the armour variable.

It's impossible to make an anti armour hack that works correctly.
Reply
#5

It only Bans the players who will spawn a full armor in a second....His armour variable will be updated by the LastArmour[playerid];
But the problem is the Tag MisMatch error....
Reply
#6

pawn Код:
new Float:LastArmour[MAX_PLAYERS];
Reply
#7

Norn, I LOVE YA!!! THANKS!!! I WANNA HAVE SEX WITH YA!!! jk
Reply
#8

Solved it but DIDNT work too buggy!
Reply
#9

under ONPlayerConnect put
pawn Код:
if(GetPlayerArmour(playerid) >= 1)
{
SendClientMessage(playerid,0xFF9900AA,"Bad boi, no hacking");
SetPlayerArmour(playerid,0);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)