07.08.2012, 13:31
Quote:
do u need it to b visible for cars only or be visible all the time?
|
ok,
pawn Code:
speeddraw[playerid] = TextDrawCreate(524.000000, 365.000000, "Speed:");
TextDrawBackgroundColor(speeddraw[playerid], 255);
TextDrawFont(speeddraw[playerid], 1);
TextDrawLetterSize(speeddraw[playerid], 0.529999, 1.199998);
TextDrawColor(speeddraw[playerid], -3394561);
TextDrawSetOutline(speeddraw[playerid], 1);
TextDrawSetProportional(speeddraw[playerid], 1);
pawn Code:
else if(newstate == PLAYER_STATE_DRIVER)
{
TextDrawShowForPlayer(playerid, speeddraw[playerid]);
}
EDIT: i found out, that for playerid 0, the draws appear as they should, but they won't disappear..
for other playerid's, the wrong draw appears, but it will dissappear when needed..