15.01.2014, 05:18
Oay I have a server, Sometimes, when Someone loggs off, and then logs in the screen is black, even if they relog its still black, anyone canhelp?
Seems Like Textdraws to me? |
new Text:LTextdraw0; new Text:LTextdraw1; LTextdraw0 = TextDrawCreate(198.184463, 112.583320, "EXAMPLE"); TextDrawLetterSize(LTextdraw0, 1.086248, 3.192497); TextDrawAlignment(LTextdraw0, 1); TextDrawColor(LTextdraw0, -16776961); TextDrawSetShadow(LTextdraw0, -2); TextDrawSetOutline(LTextdraw0, 0); TextDrawBackgroundColor(LTextdraw0, 255); TextDrawFont(LTextdraw0, 1); TextDrawSetProportional(LTextdraw0, 1); LTextdraw1 = TextDrawCreate(256.281097, 151.083297, "EXAMPLE"); TextDrawLetterSize(LTextdraw1, 0.449999, 1.600000); TextDrawAlignment(LTextdraw1, 1); TextDrawColor(LTextdraw1, 65535); TextDrawSetShadow(LTextdraw1, 0); TextDrawSetOutline(LTextdraw1, 1); TextDrawBackgroundColor(LTextdraw1, 255); TextDrawFont(LTextdraw1, 1); TextDrawSetProportional(LTextdraw1, 1); forward ShowLTextdraws(playerid); public ShowLTextdraws(playerid) { TextDrawShowForPlayer(playerid, LTextdraw0); TextDrawShowForPlayer(playerid, LTextdraw1); return 1; }
//new Text:LTextdraw0; i can do // or /* */ but I'm only commenting two lines here. //new Text:LTextdraw1; /* For a huge code we use this of course. LTextdraw0 = TextDrawCreate(198.184463, 112.583320, "EXAMPLE"); TextDrawLetterSize(LTextdraw0, 1.086248, 3.192497); TextDrawAlignment(LTextdraw0, 1); TextDrawColor(LTextdraw0, -16776961); TextDrawSetShadow(LTextdraw0, -2); TextDrawSetOutline(LTextdraw0, 0); TextDrawBackgroundColor(LTextdraw0, 255); TextDrawFont(LTextdraw0, 1); TextDrawSetProportional(LTextdraw0, 1); LTextdraw1 = TextDrawCreate(256.281097, 151.083297, "EXAMPLE"); TextDrawLetterSize(LTextdraw1, 0.449999, 1.600000); TextDrawAlignment(LTextdraw1, 1); TextDrawColor(LTextdraw1, 65535); TextDrawSetShadow(LTextdraw1, 0); TextDrawSetOutline(LTextdraw1, 1); TextDrawBackgroundColor(LTextdraw1, 255); TextDrawFont(LTextdraw1, 1); TextDrawSetProportional(LTextdraw1, 1); */ and this to end the comment. /* to comment this part i just add this and the end part. forward ShowLTextdraws(playerid); public ShowLTextdraws(playerid) { TextDrawShowForPlayer(playerid, LTextdraw0); TextDrawShowForPlayer(playerid, LTextdraw1); return 1; } */ and we end it again here.