how to make XP system
#7

Quote:
Originally Posted by Weirdosport
If you really want to rename them you can do this:

pawn Код:
stock SetPlayerXp(playerid, Xp)
{
return SetPlayerScore(playerid, Xp);
}
But it's fairly pointless..
Quote:
Originally Posted by iLinx
you could also just make a player variable
Код:
new PlayerXP[MAX_PLAYERS];
and then when someone gets more exp you could do something like this ( lets say its 50 exp)
Код:
PlayerXP[playerid] += 50;
Dont forget to set the xp to 0 on disconnect
Код:
OnPlayerDisconnect(playerid) {
PlayerXP[playerid] = 0;
return 1;
}
and you could save it however you want in dudb or dutils or wev
thanks, but i already created script..
Reply


Messages In This Thread
how to make XP system - by user226 - 09.08.2009, 14:42
Re: how to make XP system - by Weirdosport - 09.08.2009, 14:59
Re: how to make XP system - by user226 - 09.08.2009, 16:21
Re: how to make XP system - by user226 - 09.08.2009, 20:09
Re: how to make XP system - by Weirdosport - 09.08.2009, 20:18
Re: how to make XP system - by iLinx - 09.08.2009, 22:13
Re: how to make XP system - by user226 - 10.08.2009, 05:47

Forum Jump:


Users browsing this thread: 1 Guest(s)