Timers mixed up again
#10

Код:
new MaxPlayers=GetMaxPlayers();
for(new id=0;id<MaxPlayers;id++)
{
	Textdraw7[id] = TextDrawCreate(3.000000, 274.000000, "Job Cooldown");
	TextDrawBackgroundColor(Textdraw7[id], 255);
	TextDrawFont(Textdraw7[id], 1);
	TextDrawLetterSize(Textdraw7[id], 0.500000, 1.000000);
	TextDrawColor(Textdraw7[id], -1);
	TextDrawSetOutline(Textdraw7[id], 0);
	TextDrawSetProportional(Textdraw7[id], 1);
	TextDrawSetShadow(Textdraw7[id], 1);

	Textdraw8[id] = TextDrawCreate(54.000000, 293.000000, "_");
	TextDrawBackgroundColor(Textdraw8[id], 255);
	TextDrawFont(Textdraw8[id], 1);
	TextDrawLetterSize(Textdraw8[id], 0.500000, 1.000000);
	TextDrawColor(Textdraw8[id], 16777215);
	TextDrawSetOutline(Textdraw8[id], 0);
	TextDrawSetProportional(Textdraw8[id], 1);
	TextDrawSetShadow(Textdraw8[id], 1);
}
due to the textdraw limit of 2048, its a good idea to use the GetMaxPlayers() - i guess you dont want to waste almost 1000 textdraws
Reply


Messages In This Thread
Timers mixed up again - by bartje01 - 04.12.2011, 12:50
Re: Timers mixed up again - by Thresholdold - 04.12.2011, 12:51
Re: Timers mixed up again - by nmader - 04.12.2011, 13:10
Re: Timers mixed up again - by bartje01 - 04.12.2011, 15:35
Re: Timers mixed up again - by Babul - 04.12.2011, 16:49
Re: Timers mixed up again - by bartje01 - 04.12.2011, 21:12
Re: Timers mixed up again - by bartje01 - 04.12.2011, 23:35
Re: Timers mixed up again - by Babul - 05.12.2011, 03:16
Re: Timers mixed up again - by bartje01 - 05.12.2011, 05:40
Re: Timers mixed up again - by Babul - 05.12.2011, 09:25

Forum Jump:


Users browsing this thread: 3 Guest(s)