SA-MP Forums Archive
Help, Why the text draw didn't work? - 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, Why the text draw didn't work? (/showthread.php?tid=137153)



Help, Why the text draw didn't work? - benlevi - 27.03.2010


I add new text draw to my server
but i don't show it!

Top of the GameMode:
Код:
new Text:TextDraw1;
GameModeInt:
Код:
TextDraw1 = TextDrawCreate(2, 460, "DM Server");
TextDrawAlignment(TextDraw1, 1);
TextDrawFont(TextDraw1, 1);
TextDrawLetterSize(TextDraw1, 0.1, 0.1);
TextDrawColor(TextDraw1, COLOR_GREEN);
OnPlayerConnect:

Код:
TextDrawShowForPlayer(playerid, TextDraw1);
Please help..


Re: Help, Why the text draw didn't work? - benlevi - 28.03.2010

Someone?


Re: Help, Why the text draw didn't work? - Fedee! - 28.03.2010

Try on OnPlayerSpawn


Re: Help, Why the text draw didn't work? - MadeMan - 28.03.2010

pawn Код:
TextDraw1 = TextDrawCreate(2, 460, "DM Server");
Maybe the textdraw is out of the screen?

Try, if you can see this

pawn Код:
TextDraw1 = TextDrawCreate(200, 300, "DM Server");



Re: Help, Why the text draw didn't work? - benlevi - 29.03.2010

I see now the textdraw but it's very small

Why?


Re: Help, Why the text draw didn't work? - MadeMan - 29.03.2010

Quote:
Originally Posted by benlevi
I see now the textdraw but it's very small

Why?
pawn Код:
TextDrawLetterSize(TextDraw1, 0.1, 0.1);