[FilterScript] Nice Box And Textdraw (You Must Scripted) :D
#1

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.
Reply
#2

Nice!, very nice!,

Wha'ts you make this ?
Reply
#3

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
Reply
#4

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

Looks great, gonna use it.
Reply
#6

Not bad for a Little Clucker. lol
Good job
Reply
#7

Thanks all
Reply
#8

Nice.
Reply
#9

that's nice dude !!!
Reply
#10

Good job keep it up!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)