Xp System helpppp!
#1

I have made an xp system and everything works!
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;
}
It compiles without any error!
Thanks!
IronMen
Reply


Messages In This Thread
Xp System helpppp! - by ironmen - 27.09.2015, 11:00
Re: Xp System helpppp! - by CalvinC - 27.09.2015, 12:26
Re: Xp System helpppp! - by Vince - 27.09.2015, 17:28
Re: Xp System helpppp! - by ironmen - 28.09.2015, 03:40

Forum Jump:


Users browsing this thread: 2 Guest(s)