10.08.2014, 03:13
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;
}