SA-MP Forums Archive
[Help] Want to make special "textdraw" for server intro/tutorial - 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: [Help] Want to make special "textdraw" for server intro/tutorial (/showthread.php?tid=108715)



[Help] Want to make special "textdraw" for server intro/tutorial - BMGP - 15.11.2009

Im looking for special textdraw for my tutorial(intro) for my server.
It should look something like this:


(made this with paint^^)


So you can see, i want that a little bit of the screen is black and "there is the tutorial"(I think you understand it when you see the picture)

PLease maybe someone can give me the code or make it for me?!?!

Please help me!
BMGP


Re: [Help] Want to make special "textdraw" for server intro/tutorial - dirkblok - 15.11.2009

Try with GameTextForPlayer. but I don't know how you can make black strokes...
https://sampwiki.blast.hk/wiki/GameTextForPlayer



Re: [Help] Want to make special "textdraw" for server intro/tutorial - BMGP - 15.11.2009

im sure it works because i saw it sometime ago in SAMP Server..


Re: [Help] Want to make special "textdraw" for server intro/tutorial - aspire5630 - 15.11.2009

the black strokes is a textdraw here...



Код:
	choose_text = TextDrawCreate(466.000000,310.000000,"Tutorial.");
	TextDrawAlignment(choose_text,0);
	TextDrawBackgroundColor(choose_text,0x000000ff);
	TextDrawFont(choose_text,0);
	TextDrawLetterSize(choose_text,0.699999,1.800000);
	TextDrawColor(choose_text,0xffffffff);
	TextDrawSetOutline(choose_text,1);
	TextDrawSetProportional(choose_text,1);

	lbt = TextDrawCreate(-1.000000,2.000000,"---");
	TextDrawUseBox(lbt,1);
	TextDrawBoxColor(lbt,0x000000ff);
	TextDrawTextSize(lbt,640.000000,-69.000000);
	TextDrawAlignment(lbt,0);
	TextDrawBackgroundColor(lbt,0x000000ff);
	TextDrawColor(lbt,0x000000ff);
	TextDrawFont(lbt,3);
	TextDrawLetterSize(lbt,1.000000,12.199999);
	TextDrawSetOutline(lbt,1);
	TextDrawSetProportional(lbt,1);
	TextDrawSetShadow(lbt,1);

	lbb = TextDrawCreate(0.000000,337.000000,"---");
	TextDrawUseBox(lbb,1);
	TextDrawBoxColor(lbb,0x000000ff);
	TextDrawTextSize(lbb,638.000000,-60.000000);
	TextDrawAlignment(lbb,0);
	TextDrawBackgroundColor(lbb,0x000000ff);
	TextDrawFont(lbb,3);
	TextDrawLetterSize(lbb,0.899999,15.000000);
	TextDrawColor(lbb,0x000000ff);
	TextDrawSetOutline(lbb,1);
	TextDrawSetProportional(lbb,1);
	TextDrawSetShadow(lbb,1);