27.02.2010, 11:57
No topo do GameMode:
Ainda no Topo Coloque Isto:
No OnPlayerConnect:
Код:
//Nicks Proibidos
new NicksProibidos[][MAX_PLAYER_NAME] ={
"[ViP Labrik","[MT Lavis","[XXX Whatever","com1","com2","com3","com4","com5","com6",
"com7","com8","com9","lpt1","lpt2","lpt3","lpt4","lpt5","lpt6","lpt7","lpt8","lpt9",
"Carl","Rocky","Sony","clock$","prn","nul","con","Pepe","Arnoldo","SgtPepper","Pepsi",
"Azucar","CON","con","con1","Zoquete","Pacman","Batman",,"Manfrey","Papirola",
"Sopapeala","aux","oi","aux1","prn","PRN","AUX"
};
Код:
new Security = 0;
Код:
new fulano_entrou[256];
GetPlayerName(playerid,fulano_entrou,256);
if(Security != 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "Para jogar aqui, voce tem que cumprir as regras.");
Kick(playerid);
return 1;
}
for(new i; i<sizeof(NicksProibidos); i++)
{
if(strcmp(NicksProibidos[i],fulano_entrou,true)==0)
{
SendClientMessage(playerid,COLOR_YELLOW,"Vocк foi pego pelo The_DarK VAZA MLK :]!");
Ban(playerid);
}
}

