[Ajuda] Como faзo isso
#1

Bom galera eu Tenho Fs que apareзe procurado em sima da Pessoa em Vermelho Mais qeria que aparecese o Nivel de Procurado Tbm tipo: Procurado[6]
Quem puder ajudar Obrigado.
pawn Code:
#include <a_samp>
forward Procurado();

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" FS BY : Eu");
    print("--------------------------------------\n");
    return 1;
}


public OnGameModeInit()
{
    SetTimer("Procurado", 1000, true);
    return 1;
}

public Procurado()
{
   for(new x=0; x < MAX_PLAYERS; x++)
   {
     if(IsPlayerConnected(x) && GetPlayerWantedLevel(x) > 1)
     {
     SetPlayerChatBubble(x, "Procurado", 0xFF0000AA, 100.0, 10000);
     }
   }
}
Reply
#2

pawn Code:
public Procurado()
{
   new str[128];
   for(new x=0; x < MAX_PLAYERS; x++)
   {
     if(IsPlayerConnected(x) && GetPlayerWantedLevel(x) > 1)
     {
        format(str,sizeof(str),"Procurado[%d]",GetPlayerWantedLevel(x));
        SetPlayerChatBubble(x, str, 0xFF0000AA, 100.0, 10000);
     }
   }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)