[Help] Textdraw
#2

You can't do
pawn Код:
new Text:Stats;
Stats = TextDrawCreate(507, 145, coordsstring);
Stats = TextDrawCreate(507, 155, coordsstring);
It will assign to 'Stats' the id of the last textdraw which you created

Do it like
pawn Код:
new
  Text:Stats1,
  Text:Stats2;
Stats1 = TextDrawCreate(507, 145, coordsstring);
Stats2 = TextDrawCreate(507, 155, coordsstring);
or
pawn Код:
new Text:Stats[2];
Stats[0] = TextDrawCreate(507, 145, coordsstring);
Stats[1] = TextDrawCreate(507, 155, coordsstring);
Reply


Messages In This Thread
[Help] Textdraw - by Benne - 17.11.2009, 13:29
Re: [Help] Textdraw - by dice7 - 17.11.2009, 13:35
Re: [Help] Textdraw - by Benne - 17.11.2009, 13:39
Re: [Help] Textdraw - by dice7 - 17.11.2009, 14:36
Re: [Help] Textdraw - by Benne - 17.11.2009, 14:40
Re: [Help] Textdraw - by Unte99 - 08.10.2010, 18:23

Forum Jump:


Users browsing this thread: 1 Guest(s)