SA-MP Forums Archive
TextDrawn '-' - 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: TextDrawn '-' (/showthread.php?tid=284267)



TextDrawn '-' - CanTLoGin - 18.09.2011

Eu queria que quando o player se conectasse aparecese um TextDrawn com o Lembrete dele.
Ou entгo aparecendo " Vocк tem um Lembrete "
Eu jб tentei. mas o textdrawn aparece msmo se nгo tiver um Lembrete :S ( Se tiver como fazer aparece Lembrete: O LEMBRETE DELE
eu qeria qe ele ficasse permanente ali no rodape. atй ele mudar. ou ele tirar o lembrete..)
pawn Code:
if(dini_Int(file, "Bloco") == 1)
                        {
                            new stringlembrete[256];
                            format(stringlembrete, sizeof(stringlembrete), "Lembrete: %s.", dini_Get(file, "Lembrete"));
                            SendClientMessage(playerid, LembreteCor, stringlembrete);                                  
                        }
O TextDrawn seria assim
pawn Code:
Lembretee = TextDrawCreate(260.000000,222.000000,"Voce tem um Lembrete");
TextDrawFont(Lembretee,3);
TextDrawColor(Lembretee,0xAA3333AA);
TextDrawLetterSize(Lembretee,0.599999,1.000000);
TextDrawSetOutline(Lembretee,1);
TextDrawSetShadow(Lembretee,1);
TextDrawSetProportional(Lembretee,1);
TextDrawBackgroundColor(Lembretee,0x000000ff);



Re: TextDrawn '-' - Dolby - 18.09.2011

ja tento assim: ?
pawn Code:
if(!dini_Exists("bloco") return 0x1;