Anti Con Worked But Not Good Help Me + Rep
#5

Quote:
Originally Posted by M4D
Посмотреть сообщение
what is "params" ??!!

try this:

pawn Код:
#include <a_samp>
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    return 1;
}

#endif
new Name[MAX_PLAYER_NAME];

new NicksProibidos[54][MAX_PLAYER_NAME] ={  // 54 ant nick se for aumenta a cada 1 aumentado aumente ali tanbem!
"com1","com2","com3","com4","com5","com6","com7","com8","com9","COM1","COM2","COM3",
"COM4","COM5","COM6","COM7","COM8","COM9","lpt1","lpt2","lpt3","lpt4","lpt5","lpt6",
"lpt7","lpt8","lpt9","prn1","prn2","prn3","prn4","prn5","prn6","prn7","prn8","prn9",
"aux1","aux2","aux3","aux4","aux5","aux6","aux7","aux8""aux9","clock$","nul","con",
"CON","con","con1","aux","aux1","PRN","AUX","con."
};

public OnPlayerConnect(playerid) {
  for (new i; i < sizeof(NicksProibidos); i++) {
    new nickproibido[40];
    GetPlayerName(playerid, nickproibido, 40);
    if (strfind(NicksProibidos[i], nickproibido, true) == 0) {
      SendClientMessage(playerid, 0xFFFF00AA, "English: You Have been Banned Noob! Persian: Hanoo Zoode ;)");
      SendClientMessage(playerid, 0xFFFF00AA, "Bye Bye");
      GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~r~Best Of Zombie Servers!!", 3000, 3); //ira aparecer na tela eu acho massa se usar se quizer!
      Ban(playerid);
      break;
    }
  }
}
Not Work Im Join With This Name : con.youngie And My Server Got Down... HElp Me Scripters I Realy NEed It
Reply


Messages In This Thread
Anti Con Worked But Not Good Help Me + Rep - by alishvasis - 17.12.2014, 14:42
Re: Anti Con Worked But Not Good Help Me + Rep - by M4D - 17.12.2014, 15:28
Re: Anti Con Worked But Not Good Help Me + Rep - by alishvasis - 17.12.2014, 16:19
Re: Anti Con Worked But Not Good Help Me + Rep - by M4D - 17.12.2014, 16:49
Re: Anti Con Worked But Not Good Help Me + Rep - by alishvasis - 17.12.2014, 17:03
Re: Anti Con Worked But Not Good Help Me + Rep - by alishvasis - 17.12.2014, 17:37
Re: Anti Con Worked But Not Good Help Me + Rep - by alishvasis - 17.12.2014, 18:22

Forum Jump:


Users browsing this thread: 1 Guest(s)