[Ajuda] Chat de Admin
#6

pawn Код:
dcmd_a(playerid, params[]) {
     new Texto[250], Nome[24];
     if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFFFFFFAA,"{FF0000}| FAIL | {FFFFFF}Desculpe, apenas os administradores podem usar esse comando!");
     if(sscanf(params, "s[250]", Texto)) return SendClientMessage(playerid, -1, "{FF0000} | FAIL | {FFFFFF}/a [Texto]");
     GetPlayerName(playerid, Nome, 24);
     format(String, sizeof(String), "{FFFF00}| Administrador | {FFFFFF}%s diz: %s", Nome, Texto);
     SendClientMessageToAll(-1, String);
     return 1;
}
Tenta aн
Reply


Messages In This Thread
Chat de Admin - by clerISoN - 23.05.2013, 01:38
Re: Chat de Admin - by .FuneraL. - 23.05.2013, 01:43
Re: Chat de Admin - by Kmatsu - 23.05.2013, 01:44
Re: Chat de Admin - by Gii - 23.05.2013, 01:44
Re: Chat de Admin - by clerISoN - 23.05.2013, 01:58
Re: Chat de Admin - by .FuneraL. - 23.05.2013, 02:00
Re: Chat de Admin - by focaximubh - 23.05.2013, 02:00
Re: Chat de Admin - by clerISoN - 23.05.2013, 02:10
Re: Chat de Admin - by clerISoN - 23.05.2013, 16:25

Forum Jump:


Users browsing this thread: 1 Guest(s)