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



Game Text - _Play_ - 27.08.2014

no onplayerspawn
pawn Код:
new seg;
        seg = 15;
        SegundosContagem[playerid] = seg;
        format(string,sizeof(string),"Aguarde : %d",seg);
        GameTextForPlayer(playerid,string,1200,3);
        SegundosContagem[playerid] --;
        SetTimerEx("Contando",1500,0,"d",playerid);
pawn Код:
public Contando(playerid)
{
    new string[256];
    if(SegundosContagem[playerid] > 0){
        format(string,sizeof(string),"~y~Aguarde: %d",SegundosContagem[playerid]);
        GameTextForPlayer(playerid, string, 2500, 3);
        SegundosContagem[playerid]--;
        SetTimerEx("Contando",1500,0,"d",playerid);
        return 1;
    }
v6 tem bola de cristal?


Re: Game Text - Dolby - 27.08.2014

O cуdigo jб temos, agora sу falta especificar o problema.


Re: Game Text - FallweN - 27.08.2014

Nгo usamos bola de cristal amigo, explique o erro.


Re: Game Text - _Play_ - 27.08.2014

nao apareзe a game text la


Re: Game Text - Cleyson - 27.08.2014

https://sampwiki.blast.hk/wiki/SetTimerEx

PHP код:
SetTimerEx("Contando",1500,0,"i",playerid); 



Re: Game Text - _Play_ - 27.08.2014

ainda nao apareзeu




@ Resolvi


Re: Game Text - ViniBorn - 27.08.2014

Vocк pode usar isso como base

http://forum.sa-mp.com/showpost.php?...12&postcount=2


Re: Game Text - _Play_ - 27.08.2014

Quote:
Originally Posted by ViniBorn
Посмотреть сообщение
ja resolvi mais vlw por comentar vou dar +rep a todos so ao Dolby que eu dei recentemente ai nгo ta indo.