VenomOG Posted October 6, 2019 Share Posted October 6, 2019 So hey , lets say in client side i made a edit ouredit = guiCreateEdit(943, 601, 207, 28, "", false) Now i made a button ouractivater = guiCreatebutton(ETC,ETC,ETC,ETC,"Activate",false) So when i click this button and guiGetText(ouredit) how can i send to server activating a bind like biding bind key use Title thats example the key would be that goes in the edit and sends to server binding Link to comment
ShiDiNips Posted October 9, 2019 Share Posted October 9, 2019 (edited) If you're looking for a way to make GUI visible via key, use bindKey Edited October 9, 2019 by ShiDiNips Link to comment
Scripting Moderators ds1-e Posted October 9, 2019 Scripting Moderators Share Posted October 9, 2019 On 07/10/2019 at 01:37, Network said: So hey , lets say in client side i made a edit ouredit = guiCreateEdit(943, 601, 207, 28, "", false) Now i made a button ouractivater = guiCreatebutton(ETC,ETC,ETC,ETC,"Activate",false) So when i click this button and guiGetText(ouredit) how can i send to server activating a bind like biding bind key use Title thats example the key would be that goes in the edit and sends to server binding If you want to send data to server use: https://wiki.multitheftauto.com/wiki/TriggerServerEvent Link to comment
VenomOG Posted October 9, 2019 Author Share Posted October 9, 2019 I figured it our thanks to , Loki. Link to comment
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