30.12.2010, 18:02
pawn Код:
public OnPlayerConnect(playerid)
{
static
pRpnames[24],
bool:NaLista = false
;
new
pNomings[5][24] = //Muda 5 Para numeros de players
{
"DraKiNs", //Nomes Aqui
"CUCUCU",
};
GetPlayerName(playerid, pRpnames, sizeof(pRpnames));
new RpNames = strfind(pRpnames, "_", true);
for(new i = 0 i < sizeof pNomings; i++)
if(strfind(pRpnames,pNomings[i], true) != -1)
NaLista = true;
if(RpNames >= 3 && NaLista == false)
{
SendClientMessage(playerid, 0xFF0000AA, "((Vocк foi kikado por nгo usar o formato de nome adequado: Nome_Sobrenome))");
Kick(playerid);
}
return true;
}