SA-MP Forums Archive
[help] Something in textdraw [solved] - 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] Something in textdraw [solved] (/showthread.php?tid=85539)



[help] Something in textdraw [solved] - benlevi - 08.07.2009

Hello,

I have RP server, and i want to do black rectangle up and black rectangle down for the TV function.

and i want to do that with textdraw

so i tried and i failed

someone can help me or give me the code?

Sorry About my bad english (if it was a bad..)

Thank you for the understanding




Re: [help] Something in textdraw - refshal - 08.07.2009

https://sampwiki.blast.hk/wiki/TextDrawCreate
https://sampwiki.blast.hk/wiki/TextDrawDestroy
https://sampwiki.blast.hk/wiki/TextDrawTextSize
https://sampwiki.blast.hk/wiki/TextDrawAlignment
https://sampwiki.blast.hk/wiki/TextDrawColor
https://sampwiki.blast.hk/wiki/TextDrawUseBox
https://sampwiki.blast.hk/wiki/TextDrawSetShadow
https://sampwiki.blast.hk/wiki/TextDrawSetOutline
https://sampwiki.blast.hk/wiki/TextDrawFont
https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
https://sampwiki.blast.hk/wiki/TextDrawShowForAll
https://sampwiki.blast.hk/wiki/TextDrawSetString

That could maybe help you.


Re: [help] Something in textdraw - benlevi - 08.07.2009

I know but i don't know the Coordinates


Re: [help] Something in textdraw - refshal - 08.07.2009

Here, I made you an example:

pawn Код:
new Text:TextDraw

TextDraw = TextDrawCreate(20.0, 260.0, "Write Something Here");
TextDrawUseBox(TextDraw, true);
TextDrawColor(TextDraw, 0xFFFFFFAA);
TextBoxDrawColor(TextDraw, 0x00000000);
TextDrawFont(TextDraw, 1);



Re: [help] Something in textdraw - benlevi - 08.07.2009

Thank you dude


Re: [help] Something in textdraw [solved] - refshal - 08.07.2009

You're welcome.