SA-MP Forums Archive
[AJUDA] Texto Procurado . - 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] Texto Procurado . (/showthread.php?tid=337390)



[AJUDA] Texto Procurado . - Rodrigo_Avenged - 26.04.2012

Eae Galerinha , Beleza ? fiz este comando pra quando o player estiver procurado aparecer em cima da cabeзa dele , ai funciona certinho e talz , mas queria implementar de alem de aparecer "PROCURADO" em cima da cabeзa dele , aparece-se o level de procurado Tambem tipo : "Procurado [LevelDeProcurado]" , se alguem pude rme ajduar agradeзo .

Ae o codigo :



pawn Код:
forward CriarChatBubble();
public CriarChatBubble()
{
    for(new x=0; x < MAX_PLAYERS; x++)
    {
        if(WantedPoints[x] >= 1)
        {
            SetPlayerChatBubble(x, "PROCURADO", 0xFF0000AA, 100.0, 10000);
        }
    }
}



Re: [AJUDA] Texto Procurado . - ViniBorn - 26.04.2012

format

pawn Код:
forward CriarChatBubble();
public CriarChatBubble()
{
    new VBString[24];
    for(new x, y = GetMaxPlayers(); x != y; x++)
        if(WantedPoints[x] >= 1)
        {
            format(VBString, sizeof VBString,"PROCURADO - Nнvel %d",WantedPoints[x]);
            SetPlayerChatBubble(x, VBString, 0xFF0000AA, 100.0, 10000);
        }

}



Re: [AJUDA] Texto Procurado . - Rodrigo_Avenged - 26.04.2012

Valeu ae Vini por ajudar.




+rep



Re: [AJUDA] Texto Procurado . - iDeagle_Hurley - 28.06.2012

aproveitando o Topico alguem tem como me ajudar a colocar isto fazendo favor?

dou +repu


Re: [AJUDA] Texto Procurado . - zbt - 28.06.2012

ongamemodeinit

SetTimer("CriarChatBubble", TEMPO, true);


Re: [AJUDA] Texto Procurado . - iDeagle_Hurley - 28.06.2012

vlw! zbt conseguiir akie vlw! ae

ganho meu +rep


Re: [AJUDA] Texto Procurado . - iDeagle_Hurley - 28.06.2012

aff man na hora que eu falei deu certo e talz ' copilou certinho nao deu erro
mais agora fui testar aki copila fica certinho mais nao aparece o texto
ajuda ae?


Re: [AJUDA] Texto Procurado . - leonardo1434 - 28.06.2012

Tenta agora :]

pawn Код:
forward CriarChatBubble();
public CriarChatBubble()
{
    new lol[30];
    for(new i=0; i<MAX_PLAYERS;i++)
    {
        if(WantedPoints[i] >= 1)
        {
            format(lol, sizeof lol,"PROCURADO - Nнvel %d",WantedPoints[i]);
            SetPlayerChatBubble(i,lol, 0xFF0000AA, 100.0, 10000);
        }
     }
}



Re: [AJUDA] Texto Procurado . - iDeagle_Hurley - 28.06.2012

leonardo eu coloquei o que vc falo pra mim ver se funf

da esses 2 erros aki olha -Ajuda ae dou +rep

Код:
C:\Users\Windows 7\Desktop\samp03e_svr_win32 (1)\gamemodes\Bac.pwn(4291) : error 017: undefined symbol "x"
C:\Users\Windows 7\Desktop\samp03e_svr_win32 (1)\gamemodes\Bac.pwn(4292) : error 017: undefined symbol "VBString"



Re: [AJUDA] Texto Procurado . - iDeagle_Hurley - 28.06.2012

alguem ajuda ppf galera dou
+repu