TextDraw doesn't show up!! - 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 doesn't show up!! (
/showthread.php?tid=83474)
TextDraw doesn't show up!! -
LTomi - 25.06.2009
I made a TextDraw with the "TextDraw Expert 1.1" app. I putted it to my gamemode script, to the OnPlayerRequestClass function, but it doesn't show up. Why?
pawn Код:
//Top of the script
new Text:login;
//OnGameModeInit
login = TextDrawCreate(320, 460, "~w~Please log in! (/login [password])");
TextDrawAlignment(login, 2);
TextDrawFont(login, 1);
TextDrawLetterSize(login, 0.1, 0.1);
//OnPlayerRequestClass
TextDrawShowForPlayer(playerid, login);
Please help me, I really need this!
Re: TextDraw doesn't show up!! -
Chaprnks - 25.06.2009
From the amount of code you gave me, it looks fine.
Re: TextDraw doesn't show up!! -
LTomi - 25.06.2009
I'll try to show the text draw with a command, I hope it will work.
Edit: It dosen't works with a command, too.
Re: TextDraw doesn't show up!! -
Chaprnks - 25.06.2009
Tested on my desktop, doesn't show as well. Only other thing I can suspect would be the textdraw is positioned "off the screen" when made.
Re: TextDraw doesn't show up!! -
LTomi - 25.06.2009
Yes, the positioning was the problem.
Thanks for help.