TextDraw disappear, PLEASE HELP !!!
#1

I'm desperate, i try all ....... i built speedometer and everything work, but, sometimes part of them disappear for player [only one player, sometimes more].

Pictures -

Work -


now work -


wird not work -


Pawn Code -

PHP Code:
new Text:SpeedoStuck[MAX_PLAYERS]  = {Text:INVALID_TEXT_DRAW, ...};
OnPlayerConnect -
SpeedoStuck[playerid] = TextDrawCreate(604.000000380.000000"_");
TextDrawBackgroundColor(SpeedoStuck[playerid], 255);
TextDrawFont(SpeedoStuck[playerid], 1);
TextDrawLetterSize(SpeedoStuck[playerid], -0.7599980.199999);
TextDrawColor(SpeedoStuck[playerid], -1);
TextDrawSetOutline(SpeedoStuck[playerid], 0);
TextDrawSetProportional(SpeedoStuck[playerid], 0);
TextDrawSetShadow(SpeedoStuck[playerid], 4);
TextDrawUseBox(SpeedoStuck[playerid], 1);
TextDrawBoxColor(SpeedoStuck[playerid], red);
TextDrawTextSize(SpeedoStuck[playerid], 497.000000, -19.000000);
OnPlayerStateChange
if(oldstate == PLAYER_STATE_DRIVERTextDrawHideForPlayer(playerid,SpeedoStuck[playerid]);
if(
newstate == PLAYER_STATE_DRIVERTextDrawShowForPlayer(playerid,SpeedoStuck[playerid]); 
Of course there are other TextDraws it's just an example.

I think this happens because the load of TextDraws, what to do?

PLEASE HELP !!!!!!! I WORK ON IT FOR A DAYS AND IT'S NOT WORK !!
Reply


Messages In This Thread
TextDraw disappear, PLEASE HELP !!! - by tal_peretz - 13.06.2011, 17:28
Re: TextDraw disappear, PLEASE HELP !!! - by tal_peretz - 14.06.2011, 16:14
Re: TextDraw disappear, PLEASE HELP !!! - by tal_peretz - 16.06.2011, 10:10
Re: TextDraw disappear, PLEASE HELP !!! - by sim_sima - 16.06.2011, 10:40
Re: TextDraw disappear, PLEASE HELP !!! - by Wesley221 - 16.06.2011, 10:42
Re: TextDraw disappear, PLEASE HELP !!! - by tal_peretz - 16.06.2011, 12:02
Re: TextDraw disappear, PLEASE HELP !!! - by Lorenc_ - 16.06.2011, 12:07
Re: TextDraw disappear, PLEASE HELP !!! - by tal_peretz - 16.06.2011, 13:11
Re: TextDraw disappear, PLEASE HELP !!! - by 0ne - 16.06.2011, 13:28
Re: TextDraw disappear, PLEASE HELP !!! - by tal_peretz - 16.06.2011, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)