"Gray box" with text?
#8

Something like this:
pawn Код:
format(string, sizeof(string), "Money: %d", GetPlayerMoney(playerid));
TextDrawSetString(TextDraw0[playerid], string);
TextDrawShowForPlayer(playerid, TextDraw0[playerid]);
I prefer to use playerid param with textdraw in this case, since you want to show money for every player, but you also must create textdraw for all players and you must use textdraw variable like this:
pawn Код:
new Text:TextDraw0[MAX_PLAYERS];
Reply


Messages In This Thread
"Gray box" with text? - by Anarkien - 18.07.2009, 13:26
Re: "Gray box" with text? - by Correlli - 18.07.2009, 13:48
Re: "Gray box" with text? - by Anarkien - 18.07.2009, 14:12
Re: "Gray box" with text? - by Correlli - 18.07.2009, 14:22
Re: "Gray box" with text? - by Anarkien - 18.07.2009, 15:13
Re: "Gray box" with text? - by Serediucr - 18.07.2009, 15:22
Re: "Gray box" with text? - by Anarkien - 18.07.2009, 15:22
Re: "Gray box" with text? - by Correlli - 18.07.2009, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)