02.03.2011, 12:20
Hello,my players gets ban when they buying armour in amunition.
My anti armour script:
Any help ?
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); } }