Jump to content
  • 0

GUI - click in the window calls the function.


karer

Question

1 answer to this question

Recommended Posts

  • 0
Posted

This is suppose to be in Scripting,

plus you forgot to add the false at the end of the eventhandler for the buttons"

addEventHandler("onClientGUIClick", GUIEditor_Button[1], kick,false) 
addEventHandler("onClientGUIClick", GUIEditor_Button[2], mute,false) 
addEventHandler("onClientGUIClick", GUIEditor_Button[3], jail,false) 
addEventHandler("onClientGUIClick", GUIEditor_Button[4], unjail,false) 
addEventHandler("onClientGUIClick", GUIEditor_Button[5], mandat,false) 
addEventHandler("onClientGUIClick", GUIEditor_Button[6], kontrola,false) 
addEventHandler("onClientGUIClick", GUIEditor_Window[1], nico,false) 

My in-game name: Jaysds1

Retired CMG Scripter

World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode

Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/

 

sE5Qm.png

TiV3C.png

img.php?id=0&text=Lua%20Scripter

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...