[Ajuda]Nicks
#7

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;
}
Reply


Messages In This Thread
[Ajuda]Nicks - by keller012 - 30.12.2010, 15:43
Re: [Ajuda]Nicks - by vinewood - 30.12.2010, 15:46
Re: [Ajuda]Nicks - by Macintosh - 30.12.2010, 15:56
Re: [Ajuda]Nicks - by vinewood - 30.12.2010, 16:05
Re: [Ajuda]Nicks - by Katros - 30.12.2010, 16:07
Re: [Ajuda]Nicks - by Black Sσldiєя - 30.12.2010, 16:58
Respuesta: [Ajuda]Nicks - by ipsBruno - 30.12.2010, 18:02

Forum Jump:


Users browsing this thread: 1 Guest(s)