[Ajuda] Comando
#9

Quote:
Originally Posted by vdsvinicius
Посмотреть сообщение
nгo tem OnPlayerText no meu gm, e agora?
Crie :
pawn Код:
public OnPlayerText(playerid, text[])
{
    if(strfind(text, "Noob", true) || strfind(text, "PALAVRA", true) || strfind(text, "PALAVRA", true) ==0) //--- queria colocar mais nomes aki, Ex: troxa, server lixo, ETC...
    {
        Kick(playerid);
        SendClientMessageToAll(COR_ROXO, "Um Noob foi kikado por: Noй, Motivo: Palavreado excessivamente ofensivo" );
        return 0;
    }
    return 1;
}
Ve se funciona..
Reply


Messages In This Thread
Comando - by vdsvinicius - 11.07.2012, 21:56
Re: Comando - by R3S1D3NT1 - 11.07.2012, 22:06
Re: Comando - by @Riichard - 11.07.2012, 22:10
Re: Comando - by R3S1D3NT1 - 11.07.2012, 22:11
Re: Comando - by vdsvinicius - 11.07.2012, 22:14
Re: Comando - by Saw_BR - 11.07.2012, 22:16
Re: Comando - by @Riichard - 11.07.2012, 22:17
Re: Comando - by vdsvinicius - 11.07.2012, 22:19
Re: Comando - by @Riichard - 11.07.2012, 22:23
Re: Comando - by .FuneraL. - 11.07.2012, 22:27

Forum Jump:


Users browsing this thread: 4 Guest(s)