GUIButton.SetCallbackFunc
From Liberty Unleashed Wiki
This function sets a click callback function for the button. If no callback function has been set, onClientClickButton will be called. The callback function does not have any arguments nor does it return anything.
Syntax
This function can take different lists of parameters:
bool GUIButton.SetCallbackFunc( string szFunction )
bool GUIButton.SetCallbackFunc( closure pFunction )
Arguments
- szFunction - This is the name of the callback function
- pFunction - This is a pointer to the callback function
Example
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
Explanation here.
-- todo
Notes
Used functions and other notes here.