10.02.2012, 00:26
pawn Код:
/* Player Stats Bar TEXTDRAW */
new string[256];
Textdraw1 = TextDrawCreate(36.000000, 431.000000, string);
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.500000, 1.000000);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);
format(string, sizeof(string), "%s | Money: %s", szPlayerName, GetPlayerMoney(playerid));
TextDrawShowForPlayer(playerid, Textdraw1);
EDIT: It compiles fine, but it doesn't show