Squirrel/Server/Functions/Scripts/RegisterRemoteFunc
From Liberty Unleashed Wiki
Revision as of 21:36, 4 August 2014 by Grand Team Unleashed (Talk | contribs)
This function register a function to be called from client side.
Syntax
RegisterRemoteFunc ( String Function )
Arguments
- Client-Side String Function: A function.
Examples
function onScriptLoad ( ) { RegisterRemoteFunc ( "Hello" ); } function Hello { // Own script }