Textdraw isnt showing while others are fine :|
#1

As you can see here. in my textdraw editor everything is fine



Then when i put it to my GM. it doesnt showing up i put TextDrawShowForPlayer something like that but still not work

Код:
	// Server Informations TxtDraws
	WebsiteTxtDraw = TextDrawCreate(500.000000, 2.800001, "www.ph-roleplay.yzi.me");
	TextDrawLetterSize(WebsiteTxtDraw, 0.449999, 1.600000);
	TextDrawAlignment(WebsiteTxtDraw, 1);
	TextDrawColor(WebsiteTxtDraw, -65281);
	TextDrawSetShadow(WebsiteTxtDraw, 0);
	TextDrawSetOutline(WebsiteTxtDraw, 1);
	TextDrawBackgroundColor(WebsiteTxtDraw, 51);
	TextDrawFont(WebsiteTxtDraw, 0);
	TextDrawSetProportional(WebsiteTxtDraw, 1);
OnPlayerConnect
Код:
TextDrawShowForPlayer(playerid, WebsiteTxtDraw);
NOTE: Only that textdraw is not showing up while everything is fine except that textdraw

Thank you very much for helping
Reply
#2

The only thing I can think of off the top of my head is your not using playertextdraws when creating some of them for all players so your running out of textdraw slots.
Reply
#3

^^ If your script reaches the limit on MAX_TEXTDRAWS, no more textdraws will be created.
Reply
#4

Quote:
Originally Posted by Dubya
Посмотреть сообщение
^^ If your script reaches the limit on MAX_TEXTDRAWS, no more textdraws will be created.
ohh how to get more slots??

In next update?
Reply
#5

Make sure you don't have any Text:MyTD[MAX_PLAYERS]; these need to be changed to player textdraws.
Reply
#6

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
Make sure you don't have any Text:MyTD[MAX_PLAYERS]; these need to be changed to player textdraws.
I have it. how do i change it?

Код:
new Text:WebsiteTxtDraw;
EDIT: i want to make that textdraw showing globally
Reply
#7

is that textdraw the FIRST textdraw thats being created?
Reply
#8

Quote:
Originally Posted by Kar
Посмотреть сообщение
is that textdraw the FIRST textdraw thats being created?
Nope,

Actually this 4 textdraw is the last one

Код:
new Text:WebsiteTxtDraw;
new Text:CreatorInfoTxtDraw;
new Text:ServerName1;
new Text:ServerName2;
Код:
	// Server Informations TxtDraws
	WebsiteTxtDraw = TextDrawCreate(500.000000, 2.800001, "www.ph-roleplay.yzi.me");
	TextDrawLetterSize(WebsiteTxtDraw, 0.449999, 1.600000);
	TextDrawAlignment(WebsiteTxtDraw, 1);
	TextDrawColor(WebsiteTxtDraw, -65281);
	TextDrawSetShadow(WebsiteTxtDraw, 0);
	TextDrawSetOutline(WebsiteTxtDraw, 1);
	TextDrawBackgroundColor(WebsiteTxtDraw, 51);
	TextDrawFont(WebsiteTxtDraw, 0);
	TextDrawSetProportional(WebsiteTxtDraw, 1);


	CreatorInfoTxtDraw = TextDrawCreate(553.500000, 435.119903, "Created by: Ivann");
	TextDrawLetterSize(CreatorInfoTxtDraw, 0.255500, 1.073600);
	TextDrawAlignment(CreatorInfoTxtDraw, 1);
	TextDrawColor(CreatorInfoTxtDraw, 16777215);
	TextDrawSetShadow(CreatorInfoTxtDraw, 0);
	TextDrawSetOutline(CreatorInfoTxtDraw, 1);
	TextDrawBackgroundColor(CreatorInfoTxtDraw, 51);
	TextDrawFont(CreatorInfoTxtDraw, 3);
	TextDrawSetProportional(CreatorInfoTxtDraw, 1);

	ServerName1 = TextDrawCreate(11.000000, 428.960021, "PHILIPPINES");
	TextDrawLetterSize(ServerName1, 0.327000, 1.661599);
	TextDrawAlignment(ServerName1, 1);
	TextDrawColor(ServerName1, 65535);
	TextDrawSetShadow(ServerName1, 0);
	TextDrawSetOutline(ServerName1, -1);
	TextDrawBackgroundColor(ServerName1, 51);
	TextDrawFont(ServerName1, 2);
	TextDrawSetProportional(ServerName1, 1);

	ServerName2 = TextDrawCreate(95.000000, 428.399993, "ROLEPLAY");
	TextDrawLetterSize(ServerName2, 0.310499, 1.712000);
	TextDrawAlignment(ServerName2, 1);
	TextDrawColor(ServerName2, -16776961);
	TextDrawSetShadow(ServerName2, 0);
	TextDrawSetOutline(ServerName2, 1);
	TextDrawBackgroundColor(ServerName2, 51);
	TextDrawFont(ServerName2, 2);
	TextDrawSetProportional(ServerName2, 1);
OnPlayerConnect
Код:
    TextDrawShowForPlayer(playerid, CreatorInfoTxtDraw);
    TextDrawShowForPlayer(playerid, ServerName1);
    TextDrawShowForPlayer(playerid, ServerName2);
    TextDrawShowForPlayer(playerid, WebsiteTxtDraw);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)