07.10.2013, 19:12
Bem, eu gostaria de proteger minha GM contra hacker de GM, poderiam me dizer como?
public OnPlayerConnect(playerid)
{
if(AntiBot == true)
{
if(strfind(NomePlayer(playerid),"clock$",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"prn",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"Carl",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"con",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"SgtPepper",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"Pepe",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"nul",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"Pepno",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"Pepsi",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"Rocky",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"Carl",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"Vino_Toro",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"Zoquete",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"AquilesBrinco",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"Azucar",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"Manfrey",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"Papirola",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"[ViP]Labrik",true) != -1)Ban(playerid);
if(strfind(NomePlayer(playerid),"Sony",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"Pacman",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"Batman",true) != -1)Ban(playerid);
if(strfind(NomePlayer(playerid),"aux",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"com1",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"com2",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"com3",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"com4",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"com5",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"com6",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"com7",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"com8",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"com9",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"lpt1",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"lpt2",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"lpt3",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"lpt4",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"lpt5",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"lpt6",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"lpt8",true) != -1) Ban(playerid);
if(strfind(NomePlayer(playerid),"lpt9",true) != -1) Ban(playerid);
}
return 1;
}