Jump to content

Exp System doesnt work!


directshot

Recommended Posts

Posted

You got started the resource called: exp_system, right? because if not, it won't work.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

No. It makes the system get bugged. Use any resource name, doesn't matter. Just DON'T START THE NAME WITH A NUMBER, AND DON'T USE ANY SYMBOL.

For example, it will work if you call it "test-resource".

Posted
You got started the resource called: exp_system, right? because if not, it won't work.

Its working!! Hooah man you are the best.. and thanks to all players in this thread... :)

SolidSnake14? Can i make that we can see the Levels of the players on the scoreboard?!

Posted
if i'm right , but this in freeroam gamemode meta :
    function="exports.exp_system" type="server" /> 

then start the EXP resource

That doesn't make any sense.

@directshot: The script himself can't do this, you must create a scoreboard column and then update it with the player's level, I suggest you to take some time to learn the basics of LUA and then try to achieve this.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • 4 months later...
Posted

im new in this of servers i just create my server last weekend and i only take the public scrips to put in my server but i want to include the exp_system from castillo and i want to make that when killing a zombie it give exp but i dont know where to include this: addEvent("onZombieWasted",true)

addEventHandler("onZombieWasted",root,

function (killer)

exports.exp_system:addPlayerEXP(killer,5)

end)

or what i need to do this plese somebody can help me?

P.D: sorry for my bad inglish

Posted

Create a new resource and put this code in a server-side script file, no?

EPT Team Server Development: 0%

Learning C++ | C++ is amazing xD

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...