Textdraw - 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: Textdraw (
/showthread.php?tid=110336)
Textdraw -
KnooL - 25.11.2009
I just viewed a topic about making textdraws, I just made one by this online app and it doesn't seem to show up right.
OnGameModeInit
pawn Код:
MCRPGTextDraw = TextDrawCreate(500.0000, 1.8750, "~g~M~w~CRP~r~G");
TextDrawTextSize(MCRPGTextDraw, 107.5000, 24.3750);
TextDrawAlignment(MCRPGTextDraw, 2);
TextDrawFont(MCRPGTextDraw, 3);
OnPlayerConnect
pawn Код:
TextDrawShowForPlayer(playerid,MCRPGTextDraw);
On the site it said:
Right Alignment: TextDrawCreate(500.0000, 140.0000, "Text Goes Here");
All other alignments: TextDrawCreate(500.0000, 1.8750, "Text Goes Here");
I choosed the second one.
This was my box on the site
Results:
Re: Textdraw -
Mikep. - 25.11.2009
Textdraws take time, just keep editing it until you get it right.
Don't rush, or use crappy lazy programs that don't work.
Re: Textdraw -
KnooL - 26.11.2009
Fixed it with an another app. Still thank you for answering at this thread.