08.02.2010, 20:31
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);
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);