Jump to content
  • 0

Showhtmlwindows Var Choise Msg


Question

Posted

Hello i have a private void showhtmlwindow who inside player choose from a var combobox

 

Var=(name:Ammount)

List=(10,20,30,40) 

 

I want while player choose option from Var List for example (10) player.sendMessage("You choose 10");

 

1)I have to put the player.sendmessage inside showhtmlwindow or on bypassfeedback?

 

2)How exacly i type this?

 

If (event == "10")

{

Player.send.Message("You choose 10");

}

 

Is somethink like that? 

 

Thanks .. 

 

 

 

1 answer to this question

Recommended Posts

  • 0
Posted (edited)

Check this https://xp-dev.com/svn/aCis_public/aCis_gameserver/java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminCreateItem.java

 

As you can see, it returns getCoinId(), so you send message like "You choose " + getCoinId(st.nextToken()); under your bypass. Depends of your code.

 

You can basically base on it.

Edited by SweeTs

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

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..