[Pedido] Chat Helper + Adm - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] Chat Helper + Adm (
/showthread.php?tid=376774)
Chat Helper + Adm -
Lucas_Rocha - 11.09.2012
Eae Gente Gostaria De 1 Chat De Helper + ADM Para Eles Se Comunicar Por Exemplo :
/cblf Tal_Helper Ae Gente Tem 1 Cara Lhe Chamando Id [24]
/cblf Tal_Admin Pede Para Ele Esperar Q Eu Ja Estou Indo
/cblf Tal_Helper Ele Falou Ok
Tipo Assim Alguem Pode Me Ajuda pf?
Re: Chat Helper + Adm -
Abravanel - 11.09.2012
https://sampwiki.blast.hk/wiki/SendClientMessage
https://sampwiki.blast.hk/wiki/Loops
Leia e entenda.
Respuesta: Chat Helper + Adm -
Lucas_Rocha - 11.09.2012
Vc Pode Fazer 1 Codigo?
Re: Chat Helper + Adm -
Jason` - 11.09.2012
pawn Код:
command(a, playerid, params[]) {
if(IsPlayerAdmin(playerid)) {
if(!isnull(params)) {
static i, string[128], name[24];
GetPlayerName(playerid, name, sizeof(name));
for(i = GetMaxPlayers() - 1; i > -1; --i) {
if(IsPlayerAdmin(i)) { // admin rcon (edite)
format(string, sizeof(string), "Admin %s diz: %s", name, params);
SendClientMessage(i, 0x00FFFFFF, string);
}
}
}
}
return 1;
}
O resto й com vocк.