[Ajuda] Comandos
#4

Creio que sim.

pawn Код:
CMD:cp(playerid, params[]){


    if(isnull(params)){
        return SendClientMessage(playerid, Vermelho, "[ x ] Uso correto: /cp [Texto]");
    }
   
    for(new i, e = GetMaxPlayers(); i != e; ++i){
   
        if(Profissao[i] == Profissao[playerid]) {
           format(string, sizeof(string), "( CP ) '%s' diz: %s", Nome(playerid), params);
           SendClientMessage(i, Chat, string);
        }
       
    }
   
    return true;
}
Reply


Messages In This Thread
Comandos - by Ts3 - 09.08.2014, 22:48
Re: Comandos - by zSuYaNw - 09.08.2014, 22:54
Re: Comandos - by Ts3 - 09.08.2014, 23:49
Re: Comandos - by zSuYaNw - 10.08.2014, 03:13
Re: Comandos - by Ts3 - 10.08.2014, 03:56
Re: Comandos - by zSuYaNw - 10.08.2014, 03:59
Re: Comandos - by Ts3 - 11.08.2014, 01:19
Re: Comandos - by ViniBorn - 11.08.2014, 01:29
Re: Comandos - by Ts3 - 11.08.2014, 19:42

Forum Jump:


Users browsing this thread: 2 Guest(s)