28.07.2012, 08:21
You have to create a textdraw for each player!
For ex:
For ex:
pawn Код:
new StatsLevel[MAX_PLAYERS];
StatsLevel[playerid] = TextDrawCreate(440.000000,388.000000, " ");
TextDrawAlignment(StatsLevel[playerid], 2);
TextDrawBackgroundColor(StatsLevel[playerid], 255);
TextDrawFont(StatsLevel[playerid], 2);
TextDrawLetterSize(StatsLevel[playerid], 0.160000, 0.599999);
TextDrawColor(StatsLevel[playerid], 0xE81010FF);
TextDrawSetOutline(StatsLevel[playerid], 1);
TextDrawSetProportional(StatsLevel[playerid], 1);
TextDrawShowForPlayer(playerid, StatsLevel[playerid]);
format(string, sizeof string, "LEVEL: %d", PlayerInfo[playerid][pLevel]);
TextDrawSetString(StatsLevel[playerid], string);