TextDraw doesn't show up!!
#1

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!
Reply
#2

From the amount of code you gave me, it looks fine.
Reply
#3

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.
Reply
#4

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.
Reply
#5

Yes, the positioning was the problem.

Thanks for help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)