Jump to content
×
×
  • Create New...
  • 0

Button Event


BeyJE

Question

Version of Files XXX

I have a system, and i have some buttons in him, how can i create a function who give me 1kkk if i press the button? It's just an example but i want to know how to create button events. Ty.

  • Good 1
  • Dislove 1
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Since you already (I guess) know how to add buttons 

you should create a function in c++ and use that function when someone click the button 

One of the ways is to make new command in c++ and use that command by net.SendChatPacket in Python in that button(but I don't recommend this way much, just giving an idea)

Edited by Asentrix
Link to comment
Share on other sites

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


  • Activity

    1. 0

      Looking for Someone to create the queries etc for armors and weapons

    2. 13

      Official Private Shop Search

    3. 944

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 79

      GUI Teleport System

    5. 0

      inventory slot marking system cant compile

    6. 8

      Inventory Bug

    7. 63

      Metin2 Dev - Changelogs

  • Recently Browsing

    • No registered users viewing this page.

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.