Squirrel/Client/Events/GUI/onClientClickCheckbox

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(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

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This event is called when the local player clicks a checkbox.

Syntax

  1. 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
  1.  
  2. -- todo
  3.  

Notes

-- List of used functions and other notes here.

Related Events

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox