Take and give Level of Xp

2 posts / 0 new
Last post
Offline
Last seen: 3 months 2 days ago
Joined: 11/18/2014 - 19:19
Gems: 0
Take and give Level of Xp

I have a question:

How give an player Xp and how can i take it from him??

 

 



Nuparu00's picture
Offline
Last seen: 12 hours 18 min ago
Joined: 08/27/2013 - 18:03
Gems: 261
Try for subtract:player

Try for subtract:
player.addExperienceLevel(-1); 

For increase:

player.addExperienceLevel(1);