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



TextDraw - FabioGTP - 22.05.2014

Galera vi esse fs e baixei https://sampforum.blast.hk/showthread.php?tid=290640, criei minha textdraw ficou mita *-*, ficou salva na scriptfiles, mais como ponho ela no meu gm? alguйm ajuda pf


Re: TextDraw - MultiKill - 22.05.2014

Salva ele como Fs e coloca no seu Gm.


Respuesta: Re: TextDraw - FabioGTP - 22.05.2014

Quote:
Originally Posted by MultiKill
Посмотреть сообщение
Salva ele como Fs e coloca no seu Gm.
como assim? veio um arquivo .tdm


Re: TextDraw - MultiKill - 22.05.2014

Й sу abrir o .tdm com o bloco de notas ou se possнvel mudar .tdm para .pwn. Mas se prestar atenзгo na hora de salvar vocк vera opзгo de salvar como FS.


Respuesta: TextDraw - FabioGTP - 22.05.2014

Abri no pawno
Код:
 TDFile=yes
0T_Created=1
1T_Created=1
0T_Text=Campeonato de X5
0T_X=474.000000
0T_Y=375.000000
0T_Alignment=1
0T_Color=16711935
0T_BackColor=255
0T_BoxColor=255
0T_Font=3
0T_XSize=0.490000
0T_YSize=2.999999
1T_Text=Torcidas Pequenas
1T_X=475.000000
1T_Y=405.000000
1T_Color=16711935
1T_BackColor=255
1T_BoxColor=255
agora coloco nas publics?, pode passar as publics certa?


Re: TextDraw - MultiKill - 22.05.2014

Esse nгo й arquivo. Baixei o Fs aqui e vi que ele cria um arquivo .tdm, .lst, .rec.
Esses tipos de arquivos nгo sгo o que vocк vai usar. O que vocк vai usar pode estar no formato .pwn ou .txt


Re: TextDraw - DiiMeNoR - 22.05.2014

Ai mano, espero que ajude.

pawn Код:
//Inicio do GM

new Text:Textdraw1, Text:Textdraw2;

//OnGameModeInit
Textdraw1 = TextDrawCreate(474.000000,375.000000,"Campeonato de X5");
TextDrawAlignment(Textdraw1,1);
TextDrawColor(Textdraw1,16711935);
TextDrawBackgroundColor(Textdraw1,255);
TextDrawBoxColor(Textdraw1,255);
TextDrawFont(Textdraw1,3);
TextDrawLetterSize(Textdraw1,0.490000,2.999999);

Textdraw2 = TextDrawCreate(475.000000,405.000000,"Torcidas Pequenas");
TextDrawColor(Textdraw2,16711935);
TextDrawBackgroundColor(Textdraw2,255);
TextDrawBoxColor(Textdraw2,255);

//OnPlayerConnect

TextDrawShowForPlayer(playerid,Textdraw1);
TextDrawShowForPlayer(playerid,Textdraw2);



Respuesta: Re: TextDraw - FabioGTP - 22.05.2014

Quote:
Originally Posted by MultiKill
Посмотреть сообщение
Esse nгo й arquivo. Baixei o Fs aqui e vi que ele cria um arquivo .tdm, .lst, .rec.
Esses tipos de arquivos nгo sгo o que vocк vai usar. O que vocк vai usar pode estar no formato .pwn ou .txt
cara aqui nгo tem esses arquivos ! sу veio este na scriptfiles


Re: TextDraw - arakuta - 22.05.2014

Exporte no classic mode.


Respuesta: Re: TextDraw - FabioGTP - 22.05.2014

Quote:
Originally Posted by DiiMeNoR
Посмотреть сообщение
Ai mano, espero que ajude.

pawn Код:
//Inicio do GM

new Text:Textdraw1, Text:Textdraw2;

//OnGameModeInit
Textdraw1 = TextDrawCreate(474.000000,375.000000,"Campeonato de X5");
TextDrawAlignment(Textdraw1,1);
TextDrawColor(Textdraw1,16711935);
TextDrawBackgroundColor(Textdraw1,255);
TextDrawBoxColor(Textdraw1,255);
TextDrawFont(Textdraw1,3);
TextDrawLetterSize(Textdraw1,0.490000,2.999999);

Textdraw2 = TextDrawCreate(475.000000,405.000000,"Torcidas Pequenas");
TextDrawColor(Textdraw2,16711935);
TextDrawBackgroundColor(Textdraw2,255);
TextDrawBoxColor(Textdraw2,255);

//OnPlayerConnect

TextDrawShowForPlayer(playerid,Textdraw1);
TextDrawShowForPlayer(playerid,Textdraw2);
Ajudo muito, mais pode me dizer como eu mudo a cor do text? sei que ta da cor que eu quero mais caso eu queira fazer outro como mudo a cor?