Squirrel/Server/Functions/Scripts/RegisterRemoteFunc
From Liberty Unleashed Wiki
(Difference between revisions)
(→Arguments) |
|||
Line 12: | Line 12: | ||
== Arguments == | == Arguments == | ||
− | * ''' | + | * '''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 }