Textdraw problem. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Textdraw problem. (
/showthread.php?tid=130769)
Textdraw problem. -
Razvann - 28.02.2010
Sorry for another topic, but I really need this.
How I can make when 2 players have wanted will appear like This.
Name1 - Level x.
Name2 - Level y.
Mine's:
pawn Код:
format(string, sizeof(string), "%s - Level %d~n~", giveplayer,WantedLevel[i]);
TextDrawShowForPlayer(playerid, WLevel[i]);
TextDrawSetString(WLevel[i],string);
Again, I really need this.
I think's fixed, should test now.
same
Here's the pic:
Re: Textdraw problem. -
qwt - 28.02.2010
I have the same problem, someone?
Re: Textdraw problem. -
Born2die - 28.02.2010
Not quite sure what you mean but whatever, you must destroy the first textdraw.
Re: Textdraw problem. -
Razvann - 28.02.2010
Quote:
Originally Posted by Born2die
Not quite sure what you mean but whatever, you must destroy the first textdraw.
|
No, there aren't 2 textdraws, there are 2 suspects, understand?
Re: Textdraw problem. -
Eazy_Efolife - 28.02.2010
Try this:
pawn Код:
TextDrawHideForPlayer(playerid, WLevel[i]);
format(string, sizeof(string), "%s - Level %d~n~", giveplayer,WantedLevel[i]);
TextDrawSetString(WLevel[i],string);
TextDrawShowForPlayer(playerid, WLevel[i]);
Re: Textdraw problem. -
Razvann - 28.02.2010
Same.
Re: Textdraw problem. -
qwt - 28.02.2010
Mine's same, anyone?
Re: Textdraw problem. -
Razvann - 03.03.2010
Bump
Re: Textdraw problem. -
Andy_McKinley - 04.03.2010
Quote:
Originally Posted by Razvann
Bump.
|
You need TextDrawHideForPlayer(playerid, textdraw name here);
Re: Textdraw problem. -
Razvann - 04.03.2010
Quote:
Originally Posted by DarkPhoenix
Quote:
Originally Posted by Razvann
Bump.
|
You need TextDrawHideForPlayer(playerid, textdraw name here);
|
No, this isn't the idea.It's only one textdraw but when I type /wlist and there are 2 suspects will appear one textdraw which is superposed.