Squirrel/Server/Functions/Scripts/RegisterRemoteFunc
From Liberty Unleashed Wiki
(Difference between revisions)
(→Arguments) |
|||
Line 13: | Line 13: | ||
* '''String Function''': A function. | * '''String Function''': A function. | ||
+ | |||
== Examples == | == Examples == |
Revision as of 21:39, 4 August 2014
This function register a function to be called from client side.
Syntax
RegisterRemoteFunc ( String Function )
Arguments
- String Function: A function.
Examples
function onScriptLoad ( ) { RegisterRemoteFunc ( "Hello" ); } function Hello { // Own script }