Adcionando a funsгo ler PM num FS de Admin. - 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: Adcionando a funsгo ler PM num FS de Admin. (
/showthread.php?tid=277958)
Adcionando a funsгo ler PM num FS de Admin. -
CanTLoGin - 20.08.2011
Eae ^^ ' .. Galera como coloca a Funзгo para os administradores Ler Pm num FS de Admin ? .-. '
Jб procurei no Forum , ****** etc. Nгo achei nada ( Nгo sou muito bom pra pesquizar.. )
Re: Adcionando a funsгo ler PM num FS de Admin. -
ViniBorn - 20.08.2011
Como funciona o comando?
/mp "Mensagem" ?
Re: Adcionando a funsгo ler PM num FS de Admin. -
CanTLoGin - 20.08.2011
/pm ID MSG
daai ele manda normal lol.
mas pro admin aparece
PM de ( Nick do Mlk qe mando ) PARA ( Nick do Mlk qe recebeu ) : MENSAGEM '-'
lol
Re: Adcionando a funsгo ler PM num FS de Admin. -
diretor7 - 20.08.2011
Jб nгo existe um tуpico de sua autoria com o mesmo tнtulo?
Re: Adcionando a funsгo ler PM num FS de Admin. -
CanTLoGin - 20.08.2011
existe. mas estб lб pra tras.
e ninguem me ajudou =\
Re: Adcionando a funsгo ler PM num FS de Admin. -
ViniBorn - 20.08.2011
No comando :
pawn Код:
new string[128]; // sу acrescente isso, se nгo tiver colocado antes
MP(-1, string);
pawn Код:
public MP(color,const string[])
{
for(new i = 0; i <= HighestID; i++)
if(IsPlayerConnected(i))
if(Admin[i] > 0) // troque pelo seu sistema de admin
SendClientMessage(i, color, string);
return 1;
}
Re: Adcionando a funsгo ler PM num FS de Admin. -
CanTLoGin - 20.08.2011
lol. vlw mesmo