F: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Welcome|desc=This will return a userdata which can be passed to RFC for calling remote functions.| params=<syntaxhighlight>funcname</syntaxhighlight>| retvals=The functi...") |
No edit summary |
||
Line 8: | Line 8: | ||
local b = RFC( npcid, "print" )( a ); | local b = RFC( npcid, "print" )( a ); | ||
</source> | </source> | ||
relfuncs=*[[RFC]]|}} | relfuncs=*[[RFC]]]|}} |
Revision as of 16:39, 26 January 2023
Description:
This will return a userdata which can be passed to RFC for calling remote functions.
Parameters:
funcname
Return Values:
The function returns a userdata.
Example
Server Script
local a = F("format")("My name is %s\n", F("GetMyName")() ) local b = RFC( npcid, "print" )( a );
relfuncs=*RFC]