Textdraws messing up
#4

Quote:
Originally Posted by CROSS_Hunter
View Post
do u need it to b visible for cars only or be visible all the time?
No, i already have the code to show it, and to hide it..

Quote:
Originally Posted by HighPitchedVoice
View Post
Show us more of the textdraw code.
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);
this is 1 textdraw, it is created on player connect..
pawn Code:
else if(newstate == PLAYER_STATE_DRIVER)
    {
        TextDrawShowForPlayer(playerid, speeddraw[playerid]);
       
    }
a piece from my OnPlayerStateChange

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..
Reply


Messages In This Thread
Textdraws messing up - by Jstylezzz - 07.08.2012, 13:24
Re: Textdraws messing up - by CROSS_Hunter - 07.08.2012, 13:26
Re: Textdraws messing up - by HighPitchedVoice - 07.08.2012, 13:26
Re: Textdraws messing up - by Jstylezzz - 07.08.2012, 13:31
Re: Textdraws messing up - by AIped - 14.08.2012, 11:14

Forum Jump:


Users browsing this thread: 1 Guest(s)