SA-MP Forums Archive
Textdraws - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Textdraws (/showthread.php?tid=153972)



Textdraws - knopke - 11.06.2010

Hello, had little problemele with texdraws me their show. Things trouble.
write / startbase 8 or other codes and does not include:

Code:
new Text: Textdraw5;

Textdraw5 = TextDrawCreate(509.000000,6.000000,"-");
TextDrawAlignment(Textdraw5,0);
TextDrawBackgroundColor(Textdraw5,0x000000ff);
TextDrawFont(Textdraw5,1);
TextDrawLetterSize(Textdraw5,0.499999,1.000000);
TextDrawColor(Textdraw5,0x0000ffff);
TextDrawSetOutline(Textdraw5,1);
TextDrawSetProportional(Textdraw5,1);
TextDrawSetShadow(Textdraw5,1);


format(string,STR,"Base number %d starts in 10 seconds", baseid);
for(new i = 0; i < MAX_PLAYERS; i++)
TextDrawShowForPlayer(i, Textdraw5);
Well I think what those charges and to know what's going on where

Sorry for me bad english.

Thanks you :)



Re: Textdraws - DJDhan - 11.06.2010

Here you go:

Code:
new Text: Textdraw5;

Textdraw5 = TextDrawCreate(509.000000,6.000000,"-");
TextDrawAlignment(Textdraw5,0);
TextDrawBackgroundColor(Textdraw5,0x000000ff);
TextDrawFont(Textdraw5,1);
TextDrawLetterSize(Textdraw5,0.499999,1.000000);
TextDrawColor(Textdraw5,0x0000ffff);
TextDrawSetOutline(Textdraw5,1);
TextDrawSetProportional(Textdraw5,1);
TextDrawSetShadow(Textdraw5,1);


format(string,sizeof(string),"Base number %d starts in 10 seconds", baseid);
TextDrawSetString(Textdraw5,string);
TextDrawShowForAll(Textdraw5);



Textdraws - knopke - 11.06.2010

Thanks you very much. Now new problem mb you can give me cordinates in down?


Re: Textdraws - DJDhan - 11.06.2010

I recommend using >>Zamaroht's Text Draw Editor<<

PS: You can increase the Y co-ordinate for moving the text draw down and increase the X co-ordinate to move it right.