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..
Question
VideoCopilot
Hello i made this
npc that appear a html
tb.append("<td><button value=" +p.getName() + " action=\"bypass -h Quest SearchPlayer getinfo\" width=180 height=21 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_CT1.Button_DF\"></td><br>");
the question is how i set the bypass to target the player name
example im the player "Admin" and the npc find all active players in world and appear their names in a list
but i want when i click the player name to give me details for him like his levels e.t.c so in a new class
private void Results(L2PcInstance p )
{
}
i want post the things of the player that i click his name like p.getLevel() e.t.c and return HIS LEVEL no mine..
Thanks!
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now