SA-MP Forums Archive
[FilterScript] Nice Box And Textdraw (You Must Scripted) :D - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Nice Box And Textdraw (You Must Scripted) :D (/showthread.php?tid=353863)



Nice Box And Textdraw (You Must Scripted) :D - Prosettur - 24.06.2012

This is only box.
On my map is:

Paste code:
Код:
new Text:TextDraw[10];
new Float:TextDrawPosition[2];
new Text:TextDrawPlayer[SLOTS][1];
Код:
	TextDrawPosition[0] = 560.000000;
	TextDrawPosition[1] = 260.000000;
	for(new X,A = 10; X < A; X++)
	{
		TextDraw[X] = TextDrawCreate(TextDrawPosition[0],TextDrawPosition[1],"~N~~N~~N~~N~~N~~N~~N~~N~~N~~N~~N~~N~~N~~N~~N~");
		TextDrawAlignment(TextDraw[X],2);
		TextDrawBackgroundColor(TextDraw[X],255);
		TextDrawFont(TextDraw[X],1);
		TextDrawLetterSize(TextDraw[X],0.000000,1.000000);
		TextDrawColor(TextDraw[X],-1);
		TextDrawSetOutline(TextDraw[X],0);
		TextDrawSetProportional(TextDraw[X],1);
		TextDrawSetShadow(TextDraw[X],1);
		TextDrawUseBox(TextDraw[X],1);
		TextDrawBoxColor(TextDraw[X],10);
		TextDrawTextSize(TextDraw[X],0.000000,-130.000000);
		TextDrawPosition[0] += 1;
		TextDrawPosition[1] += 1;
	}
	for(new I,A = SLOTS; I < A; I++)
	{
		TextDrawPlayer[I][0] = TextDrawCreate(564.000000,268.000000," ");
		TextDrawAlignment(TextDrawPlayer[I][0],2);
		TextDrawBackgroundColor(TextDrawPlayer[I][0],255);
		TextDrawFont(TextDrawPlayer[I][0],1);
		TextDrawLetterSize(TextDrawPlayer[I][0],0.200000,1.000000);
		TextDrawColor(TextDrawPlayer[I][0],0xBBBBBBBB);
		TextDrawSetOutline(TextDrawPlayer[I][0],1);
		TextDrawSetProportional(TextDrawPlayer[I][0],1);
		TextDrawSetShadow(TextDrawPlayer[I][0],1);
	}
EDIT:

Where you use ShowTextDraw must be loop.
Код:
	for(new X = 0; X < 10; X++)
	{
	    TextDrawShowForPlayer(playerid,TextDraw[X]);
	}
	TextDrawShowForPlayer(playerid,TextDrawPlayer[playerid][0]);
Sorry for my bad english.


Respuesta: Nice Box And Textdraw (You Must Scripted) :D - zSuYaNw - 24.06.2012

Nice!, very nice!,

Wha'ts you make this ?


Re: Nice Box And Textdraw (You Must Scripted) :D - Prosettur - 24.06.2012

Textdraw which is littered with previous textdraw moves and enlightens the ends, so goes an interesting effect.
#EDIT:
Must be alignament 2, centered because 1 and 2 dont work


Re: Nice Box And Textdraw (You Must Scripted) :D - TheArcher - 24.06.2012

I really like the textdraw design, good job on it.


Re: Nice Box And Textdraw (You Must Scripted) :D - Littlehelper - 24.06.2012

Looks great, gonna use it.


Re: Nice Box And Textdraw (You Must Scripted) :D - Kerlan - 24.06.2012

Not bad for a Little Clucker. lol
Good job


Re: Nice Box And Textdraw (You Must Scripted) :D - Prosettur - 25.06.2012

Thanks all


Re: Nice Box And Textdraw (You Must Scripted) :D - Lordzy - 25.06.2012

Nice.


Re: Nice Box And Textdraw (You Must Scripted) :D - M3mPHi$_S3 - 25.06.2012

that's nice dude !!!


Re: Nice Box And Textdraw (You Must Scripted) :D - Rube - 25.06.2012

Good job keep it up!