Death(var/mob/killer) killer.exp += (src.level * 20) // 20exp for each level the guy you kill is. lvl 1 = 20, lvl 2 = 40. lvl 3 = 60.
and then just run w.e proc you have to check if the exp >= required exp for level up.
Also might want to make something that stores and then adds the remaining exp. so if the exp is > required exp. It levels you up, and then adds the amount that was above the required exp back.
This isn't a "request programmers to put in the effort for you" area, it is a place where people ask for help on how to go about doing something, possibly with some code they have worked out themselves. You cannot perfect programming in a week, a month, or a year. However, reading the guide will sureley speed you along.
and then just run w.e proc you have to check if the exp >= required exp for level up.
Also might want to make something that stores and then adds the remaining exp. so if the exp is > required exp. It levels you up, and then adds the amount that was above the required exp back.
This could be done like so:
Additional information: You've posted in the wrong section, this should go under classified ads.