07.07.2010, 11:59
No I mean wat i done is correct but i just cant get it to update the exp when the person gains the exp. It updates every spawn which i dont want it to be.
My OnPlayerSpawn Code
I had never made one of this xp systems b4 :P
My OnPlayerSpawn Code
pawn Код:
public OnPlayerSpawn(playerid)
{
XPTDLoad(playerid);
new string[128];
format(string, sizeof(string), "XP: %d", PlayerInfo[playerid][pExp]);
TextDrawSetString(TDSTATS[playerid], string);
TextDrawShowForPlayer(playerid, TDSTATS[playerid]);
return 1;
}

