25.11.2009, 20:01
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
OnPlayerConnect
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:
pawn Код:
new
Text:MCRPGTextDraw;
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);
pawn Код:
TextDrawShowForPlayer(playerid,MCRPGTextDraw);
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: