Armour HELP - Important
#1

Hello,my players gets ban when they buying armour in amunition.

My anti armour script:
Код:
    new Float:pArmour;
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(!IsPlayerConnected(i)) continue;
        GetPlayerArmour(i, pArmour);
        if(pArmour > 49.0)
        {
          new pname[200];
	      new string[200];
          GetPlayerName(i, pname, sizeof(pname));
	      format(string, sizeof(string), "-Server- %s has been banned from this server(Reason: Armour Hack)", pname);
	      SendClientMessageToAll(COLOR_RED,string);
          Ban(i);
        }
    }
Any help ?
Reply
#2

Are you using the built in game ammunation or your own? If you using the games then it gives them 100% armor which is obviously more than the anti-cheat allows.
Reply
#3

I am not edited nothink with amunition.There is every think the same as in single player.
Reply
#4

Well then your armour anti-cheat is pointless. If I was you I would just remove it unless you are going to script in your own ammunations.
Reply
#5

ok, but how to remove those teleports near amunition to amunition interior ?
Reply
#6

You can't just remove the ammunation enter/exit icons. You have to remove all the default ones if your going to go down that road.

Ref: https://sampwiki.blast.hk/wiki/DisableInteriorEnterExits

Edit: An alternative would be to check the interior they are in when the armour is applied. Not 100% effective but it would catch most cheaters that apply it as soon as they spawn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)