Okay, so I am making a leveling add-on that I plan to release fairly soon, but I cannot seem to get it so that when you kill a player, you gain EXP.
Mostly because I don't want to overwrite the default GameConnection::OnDeath(); command.
I need a script so that when someone kills someone else, they gain 5 EXP. Here are the namespaces:
%client.level - The current level that the client has
%client.exp - how much exp the client has
%client.expmax - Max EXP the player has. If %client.exp equals or goes over this set limit, the client will receive a level up.
So, how do I do this?
Please reply sensibly.