Jump to content
  • 0

How to send info from client to quest ?


rafa23alzira

Question

Hi metin2dev, i'm search the mode for send variable text/number from client to quest.
 
This is necessary for send opponent id guild to quest 
 
Example:
 
def testreturn(self,guildID):
return str(guildID)
 

And quest

 

local op = cmdchat("testreturn")
chat("The id is "..op.."")

Sorry for mi english

 

Link to comment
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

There're no other methods to do it.. you get the value from the client using the input() function.

Just follow the guide.

when you return 0 and server doesn't boot:

unknown.png

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.