SA-MP Forums Archive
[ajuda]Comando /av bugado Oo - 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: [ajuda]Comando /av bugado Oo (/showthread.php?tid=329249)



[ajuda]Comando /av bugado Oo - tonisantolia - 27.03.2012

Galera tipo eu mando /av oi vai de boa.. mas nгo aparece a parte de cima(aviso da administraзгo) alguem sabe pq?

Ta ai o comando
PHP код:
COMMAND:av(playeridparams[])
{
   if(
sscanf(params"s[500]"texto))
   {
      
SendClientMessage(playeridCinza"Use: /av (texto)");
   }
   else
   {
      new 
string[500];
      
GetPlayerName(playeridsendernamesizeof(sendername));
      
SendClientMessageToAll(Branco"{FFFFFF}|_______ {00FF40}B{FFFF00}D{1F1FF8}G{FFFFFF} ________ -{FF8000}ADMINISTRAЗГO{FFFFFF}- ________ {00FF40}B{FFFF00}D{1F1FF8}G {FFFFFF}_______|");
      
format(stringsizeof(string), "{00FF40}Admin: {FF8000}(%s) {FFFFFF}: %s"sendernametexto);
      
SendClientMessageToAll(Brancostring);
   }
   return 
1;




Re: [ajuda]Comando /av bugado Oo - ViniBorn - 27.03.2012

Tenta tirar as cores.


Re: [ajuda]Comando /av bugado Oo - [R] ousenber [K] - 27.03.2012

Recomendo fazer assim...

PHP код:
COMMAND:av(playeridparams[])
{
    if(
isnull(params)) return SendClientMessage(playerid, -1"/av [Texto]");
     
GetPlayerName(playeridsendernamesizeof(sendername));
      
SendClientMessageToAll(Branco"|________ -{FF8000}ADMINISTRAЗГO{FFFFFF}-_______|");
       
format(stringsizeof(string), "{00FF40}Admin: {FF8000}(%s) {FFFFFF}: %s"sendernametexto);
    
SendClientMessageToAll(Brancoparams);
    return 
true;

Diminuir cores, Pq tambйm oculpa 'espaзo', sendo que uma mensagem no ChatBox so aguenta 128 celulas usas 500 й disperdiзio...


Re: [ajuda]Comando /av bugado Oo - tonisantolia - 27.03.2012

era as cores kkkk vlw, so n do +rep pq ja tinha te dado antes '-'