onClientClickButton
From Liberty Unleashed Wiki
This event is called when the local player clicks a button.
Syntax
function onClientClickButton( button )
Arguments
- button - The pointer of the button clicked
Example
This code will hide a button after it has been pressed.
function onClientClickButton( button ) { button.Visible = false; }
Notes
This example uses the GUIButton.Visible function. More info on its corresponding page.
Related Events
- onClientClickButton
- onClientClickCheckbox