11.09.2012, 00:35
Textdraw never dissappeares.. what am I doing wrong?
11.09.2012, 00:39
Try making all the textdraws for players, not global textdraws. It should fix the problem.
11.09.2012, 00:40
what do you mean?
11.09.2012, 00:46
pawn Код:
new Text:Textdraw0[MAX_PLAYERS];
pawn Код:
for(new i = 0; i<MAX_PLAYERS; i++) // Under OnGameModeInit.
{
Textdraw0[i] = TextDrawCreate(30.000000, 119.000000, "Law commands:");
TextDrawBackgroundColor(Textdraw0[i], 255);
TextDrawFont(Textdraw0[i], 1);
TextDrawLetterSize(Textdraw0[i], 0.430000, 1.000000);
TextDrawColor(Textdraw0[i], 16777215);
TextDrawSetOutline(Textdraw0[i], 0);
TextDrawSetProportional(Textdraw0[i], 1);
TextDrawSetShadow(Textdraw0[i], 1);
TextDrawUseBox(Textdraw0[i], 1);
TextDrawBoxColor(Textdraw0[i], 75);
TextDrawTextSize(Textdraw0[i], 158.000000, 0.000000);
}
pawn Код:
TextDrawHideForPlayer(playerid, Textdraw[playerid]);
11.09.2012, 00:59
doesn't seem to be working..
11.09.2012, 01:06
Fixed it
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)