Jump to content
  • Register Now

    Sign up and take advantage of the features of our community! Some forums are only accessible to our members!

  • 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.

Link to post

2 answers to this question

Recommended Posts

  • 0
  • VIP
Posted (edited)

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 (see edit history)
Link to post

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.