Quote:
Originally Posted by IceBilizard
First of all learn how to create textdraw for players with CreatePlayerTextDraw
https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw
EDIT:
try this
1st Step:
pawn Код:
new PlayerText:XPS[MAX_PLAYERS]; //At top of script
2nd Step:
pawn Код:
public OnPlayerConnect(playerid) { XPS[playerid] = CreatePlayerTextDraw(playerid, 310, 432, " "); PlayerTextDrawShow(playerid, XPS[playerid]); return 1; }
Update Step:
pawn Код:
new newxp[246]; format(newxp, sizeof(newxp), "Xp: %d", XP[playerid]); PlayerTextDrawSetString(playerid, XPS[playerid], newxp);
|
BUT..
now it's not showing for players!!!!!!!!!!!!!
IronMen