07.07.2010, 11:50
Might work, I think its like that 100%.
But when i use this
How do i make it update the textdraw string
I mean where do i put this to update the exp textdraw
But when i use this
pawn Код:
GivePlayerXp(playerid, amount)
{
PlayerInfo[playerid][pExp] = PlayerInfo[playerid][pExp] + amount;
}

I mean where do i put this to update the exp textdraw

pawn Код:
new string[128];
format(string, sizeof(string), "XP: %d", PlayerInfo[playerid][pExp]);
TextDrawSetString(TDSTATS[playerid], string);
TextDrawShowForPlayer(playerid, TDSTATS[playerid]);

