Textdraw problem.
#1

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:
Reply
#2

I have the same problem, someone?
Reply
#3

Not quite sure what you mean but whatever, you must destroy the first textdraw.
Reply
#4

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?
Reply
#5

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]);
Reply
#6

Same.
Reply
#7

Mine's same, anyone?
Reply
#8

Bump
Reply
#9

Quote:
Originally Posted by Razvann
Bump.
You need TextDrawHideForPlayer(playerid, textdraw name here);
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)