How to make something like this.... - 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: How to make something like this.... (
/showthread.php?tid=212100)
How to make something like this.... -
Rock18 - 16.01.2011
Hey , i wanna know how i can make a text draw like this
Re: How to make something like this.... -
ExeC - 16.01.2011
At the top of your gamemode:
#define MenuName 1 <-- (ID)
Then, in your /command, or w/e:
pawn Код:
ShowPlayerDialog(playerid, MenuName, DIALOG_STYLE_MSGBOX, "Title", "Other Information\nInformation\nSomething", "Button 1", "Button 2");
\n = New line
Re: How to make something like this.... -
Franck_ - 16.01.2011
First of all, that's a dialog ( style: DIALOG_STYLE_MSGBOX ), not a TextDraw.Making that it's easy. Create your own string, and then add texts in it. Use
\n to create new lines, and for the colours,
{color here}. You can find the colors here:
www.colorpicker.com.