Level Up system
#2

If I understood you correctly, make an array to hold the specific EXP for the levels.

PHP код:
// I am sure you have defined the max turf/level at least. 
new g_TurfLevelEXP[MAX_TURFLEVEL] = { 050100200, ... }; 
So the level 0 holds 0 EXP, level 1 holds 50, level 2 holds 100 and so on. And you can grab the level EXP by indexing a player's turf ID in this array, I assume it's the GangTurf[x][turfLevel]. I am not quite sure how your turf system works, but I think this will give you an idea at least.
Reply


Messages In This Thread
Level Up system - by JaKe Elite - 14.07.2016, 10:42
Re: Level Up system - by Sjn - 14.07.2016, 10:53
Re: Level Up system - by Godly - 14.07.2016, 10:53
Re: Level Up system - by Vince - 14.07.2016, 10:57

Forum Jump:


Users browsing this thread: 1 Guest(s)