Jump to content
UPDATE 2 - External pictures are being replaced... ×
  • Create New...
  • 0

Decrease Player's Level Quest



Hello everyone. 

I'd like to know how to decrease player's level with a quest. 

I have tried something like "pc.give_exp2(-9999999999)" but it didn't work 

Can someone help me please? 


(I had another idea to use "command" function but it works only for GM. If it had worked with players too but only via quest that would've be awesome for my problem)

Link to comment
Share on other sites

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0

I crate this for you

	quest anything begin
    state start begin
        when 20092.chat."hello" begin -- if you need it login "when login with pc.is_gm ( ) begin"
            say(" hello every body ")
            say(" you want to level up:) ")
                local  snow = select("yes", "no")
                    if snow == 1 then
                        local a = pc.get_level()
                        local b = a - 1
                        say(" hello its mee ")
                    elseif snow == 2 then
                        say(" we are soooorry ")

Link to comment
Share on other sites

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.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.