27.09.2015, 11:00
I have made an xp system and everything works!
except...
The Xp TextDraw shows only for the first player that joins!
Help me!
Code:
It compiles without any error!
Thanks!
IronMen
except...
The Xp TextDraw shows only for the first player that joins!
Help me!
Code:
Код:
public OnPlayerConnect(playerid) { SetTimer("xpse", 2, 1); } public xpse(playerid) { new newxp[246]; format(newxp, sizeof(newxp), "Xp: %d", XP[playerid]); TextDrawSetString(XPS, newxp); TextDrawShowForPlayer(playerid, XPS); return 1; }
Thanks!
IronMen