Warnings problem!
#1

Could someone tell me whats wrong with these lines?

//the forum textdraw
Textdraw1 = TextDrawCreate(1.000000,433.000000,"ERMSL.TK");
TextDrawAlignment(Textdraw1,0);
TextDrawBackgroundColor(Textdraw1,0x000000ff);
TextDrawFont(Textdraw1,2);
TextDrawLetterSize(Textdraw1,0.499999,1.100000);
TextDrawColor(Textdraw1,0xffffffff);
TextDrawSetOutline(Textdraw1,1);
TextDrawSetProportional(Textdraw1,1);
TextDrawSetShadow(Textdraw1,1);

It gives me Warnings

(10787) : warning 213: tag mismatch
(1078 : warning 213: tag mismatch
(10789) : warning 213: tag mismatch
(10790) : warning 213: tag mismatch
(10791) : warning 213: tag mismatch
(10792) : warning 213: tag mismatch
(10793) : warning 213: tag mismatch
(10794) : warning 213: tag mismatch
(10795) : warning 213: tag mismatch
Reply
#2

You have to put "Text:" infront of the variable WHEN CREATING it

pawn Код:
Text:Textdraw1
Reply
#3

Sorry but i don't understand, how it supposed to be than?
Reply
#4

Change
pawn Код:
new Textdraw1;
into
pawn Код:
new Text:Textdraw1;
Reply
#5

Got it! Thank you so much!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)