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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...