Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public AddExp(client, exp)
- {
- exptbl[client] = exptbl[client] + exp;
- previous_lvl[client] = lvl[client];
- new Float:lvlcheck = float(exptbl[client] - 499) / 700;
- lvl[client] = RoundToFloor(lvlcheck) + 2;
- if (lvl[client] > previous_lvl[client]) {
- PlayerLevelUp(client)
- }
- }
- public PlayerLevelUp(client)
- {
- //Do level up shit here
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement