Squirrel/Client/Events/GUI/onClientClickCheckbox
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with '{{Squirrel/Title|onClientClickCheckbox}} {{ScriptingChangesIn0.1.0.9}} This event is called when the local player clicks a checkbox. == Syntax == <code>function onClientClickCh…') |
Revision as of 02:45, 15 April 2011
This event is called when the local player clicks a checkbox.
Syntax
function onClientClickCheckbox( int checkID, bool down )
Arguments
- checkID - The ID of the checkbox in question
- down - Was the mouse button pressed down or released
Returns
- 1 - Let the checkbox be checked/unchecked normally
- 0 - Returning 0 locks the status of the checkbox (if the mouse button is released)
Example
Some explanation here
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
-- todo
Notes
-- List of used functions and other notes here.
Related Events
- onClientClickButton
- onClientClickCheckbox