[AJUDA] Texto Procurado .
#1

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);
        }
    }
}
Reply
#2

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);
        }

}
Reply
#3

Valeu ae Vini por ajudar.




+rep
Reply
#4

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

dou +repu
Reply
#5

ongamemodeinit

SetTimer("CriarChatBubble", TEMPO, true);
Reply
#6

vlw! zbt conseguiir akie vlw! ae

ganho meu +rep
Reply
#7

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?
Reply
#8

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);
        }
     }
}
Reply
#9

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"
Reply
#10

alguem ajuda ppf galera dou
+repu
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)