Jump to content

Problem with exp_system.


GamerDeMTA

Recommended Posts

Hello, I have a problem with the Castillo's exp_system. It's just that when I kill a zombie I get 12 EXP instead 10, and, it just levels up with 1 kill to the Level 2. Also, how to get the level's name? not the "number"?

Script [server]

addEvent ( "onZombieWasted", true ) 
addEventHandler ( "onZombieWasted", root, 
    function ( theKiller ) 
    exports.exp_system:addPlayerEXP ( theKiller, 10) 
end 
) 

Levels.xml

    "Level 1" experienceRequired = "0" /> 
    "LV2" experienceRequired = "3000" /> 
    "LV3" experienceRequired = "1000" /> 
    "LV4" experienceRequired = "2000" /> 
    "LV5" experienceRequired = "3000" /> 
    "lv6" experienceRequired = "10000" /> 
    "lv7" experienceRequired = "15000" /> 
    "Lv8" experienceRequired = "50000" /> 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...