Jump to content
  • 0

[REQUEST]Function


Karbust

Question

  • VIP

hi guys

I want do request to the experts in quests if have anyone who can write a function for when the character die we can configure other things

thanks

QJ0orbR.png

Metin2 Icon Database

Link to comment

8 answers to this question

Recommended Posts

  • 0

try this:

function player_is_dead()

  loop_timer("player_is_dead", 0.1)

  when player_is_dead.timer begin
    if pc.is_dead() then
      clear_timer("player_is_dead")
      
      
      --do your stuff here
      
    end
  end  
end
  • Love 1
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


×
×
  • Create New...

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.