F: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<poem style="border: 2px solid #d6d2c5; background-color: #f2f4e6; padding: 1em;"> | |||
This function was added in v1.6 beta and will not work on previous versions. | |||
</poem> | |||
<poem style="border: 2px solid #d6d2c5; background-color: #f9f3e6; padding: 1em;"> | |||
This function belongs to server scripts and not npcscripts. | |||
</poem> | |||
{{Welcome|desc=This will return a userdata which can be passed to [[RFC]] for calling remote functions.| | {{Welcome|desc=This will return a userdata which can be passed to [[RFC]] for calling remote functions.| | ||
params=<syntaxhighlight>funcname</syntaxhighlight>| | params=<syntaxhighlight>funcname</syntaxhighlight>| |
Revision as of 16:44, 26 January 2023
This function was added in v1.6 beta and will not work on previous versions.
This function belongs to server scripts and not npcscripts.
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]