13.06.2011, 17:28
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 -
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 !!
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.000000, 380.000000, "_");
TextDrawBackgroundColor(SpeedoStuck[playerid], 255);
TextDrawFont(SpeedoStuck[playerid], 1);
TextDrawLetterSize(SpeedoStuck[playerid], -0.759998, 0.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_DRIVER) TextDrawHideForPlayer(playerid,SpeedoStuck[playerid]);
if(newstate == PLAYER_STATE_DRIVER) TextDrawShowForPlayer(playerid,SpeedoStuck[playerid]);
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 !!