12.06.2014, 13:01
I've been reading a tutorial for this purpose but it doesn't really help me much. I'm adding an experience system within my server. I want the player to level up after obtaining 1000 experience points by doing several things (I won't encourage killing, so players will get experience points for being online, completing missions, jobs, etc.). I'm not really sure how I could do this sort of system, therefore requiring your help.
To sum it up: For each 1000 experience points a player has, he levels up (using SetPlayerScore for that). I'd be very grateful If you could help me out.
pawn Код:
enum pInfo
{
pPass, // un-needed
pCash, // un-needed
pAdmin, // un-needed
pSex, // un-needed
pAge, // un-needed
pLevel,
pEXP,
Float:pPos_x, // un-needed
Float:pPos_y, // un-needed
Float:pPos_z, // un-needed
pSkin, // un-needed
pCrew // un-needed
}