[AJUDA] erro no code?
#1

oi queria saber se tem algum erro aqui

porque no meu GM nao da erro mas tbm nao mostra a procura

aqui esta o codigo esse codigo era pra aparecer o nivel deprocurado em cima da cabeзa mas nгo aparece nada

ja testei em outros players '-' pq em mim eu sei que nao aparece

pawn Код:
forward CriarChatBubble(); isso vai nas forward
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
#2

Porque voces usa ChatBubble em . :N n Consigo intender.
Reply
#3

pawn Код:
forward TextProcu();

SetTimer("TextProcu", 1000, true);

public TextProcu()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        new string[256];
        if(GetPlayerWantedLevel(i))
        {
            format(string,256,"**PROCURADO[%d]**",GetPlayerWantedLevel(i));
            SetPlayerChatBubble(i,string, 0x87413BFF, 100.0, 10000);
        }
    }
}
tenta esse manolo.
Reply
#4

Tente :
pawn Код:
forward TextProcu();

SetTimer("TextProcu", 1000, true);

public TextProcu()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        new string[30];
        if(GetPlayerWantedLevel(i) > 0)
        {
            format(string, sizeof(string), "**PROCURADO[%d]**", GetPlayerWantedLevel(i));
            SetPlayerChatBubble(i, string, 0x87413BFF, 100.0, 1000);
        }
    }
}
Reply
#5

Ops, topico errado
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)