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



Nivel Procurado - Jessica_Azeredo - 19.10.2012

Alguem pode ajudar colocar Nivel procurado acima da cabesa uso GM BML Obrigado


Re: Nivel Procurado - Bruno Alves - 19.10.2012

aqui tem um tuto >>> Aquil


Re: Nivel Procurado - Jessica_Azeredo - 19.10.2012

Uso GM BML Alguem termina aki
Код HTML:
public TextProcu()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        new string[256];
        if(GetPlayerWantedLevel(i) > 0)
        {
            format(string,256,"||-||PROCURADO||[%d]",GetPlayerWantedLevel(i));
            SetPlayerChatBubble(i,string, COLOR_RED, 100.0, 1000);
        }
    }
}



Re: Nivel Procurado - Jessica_Azeredo - 19.10.2012

Acho que deu so que compilar deu warning 235: public function lacks forward declaration (symbol "TextProcu")


Re: Nivel Procurado - Q.I - 19.10.2012

explique se voce quer uma estrelinha amarela lah e ?

ou sistema recompensa como e?

a e outra ja que vai usar gm da net escolha um melhor por que o bml e cheio de comandos secretos.


edit

PHP код:
forward TextProcu(); //esse warning ocorre por falta de forward 
public TextProcu(){
    for(new 
i=0i<MAX_PLAYERSi++){
        new 
string[128];
        if(
GetPlayerWantedLevel(i) > 0){
            
format(string,256,"||-||PROCURADO||[%d]",GetPlayerWantedLevel(i));
            
SetPlayerChatBubble(i,stringCOLOR_RED100.01000);
        }
    }

erro e erro = gm nao compila
warning e warning = gm compila

edit 2

128 = string permitida
256 = o dobro


Re: Nivel Procurado - Bruno Alves - 19.10.2012

bota isso em ongamemodeinit >> SetTimer("TextProcu", 1000, true);

e isso em cima dessa calback ou no topo do gm >> forward TextProcu();

acho q vc n leu o tuto '-'


Re: Nivel Procurado - Jessica_Azeredo - 19.10.2012

Qual melhor GM Base?


Re: Nivel Procurado - Bruno Alves - 19.10.2012

Bom й bom comeзar por GM's de DM, Drift, Gang War....


Mas eu se estamos falando de RPG <EU> gosto muito do Crazy Life