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


Messages In This Thread
Armour HELP - Important - by aqu - 02.03.2011, 12:20
Re: Armour HELP - Important - by vital2k - 02.03.2011, 12:21
Re: Armour HELP - Important - by aqu - 02.03.2011, 12:28
Re: Armour HELP - Important - by vital2k - 02.03.2011, 12:30
Re: Armour HELP - Important - by aqu - 02.03.2011, 12:31
Re: Armour HELP - Important - by Infamous - 02.03.2011, 12:37

Forum Jump:


Users browsing this thread: 1 Guest(s)