Textdraws help
#1

I created Textdraws for showing players some like there car speed
but when 2 players joins the textdraw starts blinking and shows another players stats and sometime mines
how can i fix that?


Regards Pulkit
Reply
#2

Post the code so we can help you out.
Reply
#3

TBatt = CreatePlayerTextDraw(playerid,540.000000, 385.000000, "");
PlayerTextDrawAlignment(playerid,TBatt, 2);
PlayerTextDrawLetterSize(playerid,TBatt, 0.399999, 0.590000);
PlayerTextDrawColor(playerid,TBatt, 0xffff00ff);
PlayerTextDrawSetOutline(playerid,TBatt, 1);
PlayerTextDrawSetProportional(playerid,TBatt, 1);
PlayerTextDrawSetShadow(playerid,TBatt, 1);
Reply
#4

well when these textdraw will be created?
onplayerconnect or ongamemodeint ?
Reply
#5

This seems fine, there must be something wrong when you are setting a string for the textdraw for displaying the information. Please share with us, that code too.
Reply
#6

-Edited-
Reply
#7

well this causes when you create textdraw at different places so try to create all textdraw at 1 function , good to create it in gamemode or onplayerconnect
Reply
#8

all are created together in ongamemodeinit
Reply
#9

make all texrdraw as global textdraw
Reply
#10

What you mean please expain me you mean without [max_playerS]?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)