Using a text draw for gas?
#1

Is it a good idea or bad idea?

I have heard it's buggy to use the same textdraw for all players, so how to make a unique one per player(or car) that wont crash and will update gas every 500 miliseconds

TextdrawGAS = TextDrawCreate(88.000000, 428.000000, gasString);
TextDrawAlignment(TextdrawGAS, 2);
TextDrawBackgroundColor(TextdrawGAS, -1);
TextDrawFont(TextdrawGAS, 2);
TextDrawLetterSize(TextdrawGAS, 0.270000, 1.400000);
TextDrawColor(TextdrawGAS, 255);
TextDrawSetOutline(TextdrawGAS, 1);
TextDrawSetProportional(TextdrawGAS, 1);

Reply


Messages In This Thread
Using a text draw for gas? - by aNdReSkKkK - 08.02.2010, 20:31
Re: Using a text draw for gas? - by Joe Staff - 08.02.2010, 20:54

Forum Jump:


Users browsing this thread: 1 Guest(s)