F

From NPC for VCMP 0.4 Servers
Revision as of 16:44, 26 January 2023 by Habi (talk | contribs)
Jump to navigation Jump to search

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 );

Related Functions

The following functions may be helpful as they relate to this function in one way or another.