LibRPC Fa
This function was added in LibRPC (API 1.3) (not released as on writing this page) and will not work on previous versions.
Description:
This will return a userdata which can be passed either to the first order parameter or any of the second order parameters of functions F, Fa, RFC and RFCa.
Parameters:
[string]funcname or [userdata]
funcname : The name of a function of the npcscript or userdata returned by F or Fa.
This F can be nested indefinitely either in first set of brackets or in the second set of brackets. See Examples for the former type of nesting.
Return Values:
The function returns userdata.
Related Functions
The following functions may be helpful as they relate to this function in one way or another.
Parameter types supported of the returned closure are:
Numbers/Integers | |
Float | |
String | |
bool | true/false |
Null | null |
Vector | Vector(x,y,z) |
Quaternion | Quaternion(x,y,z,w) |
Userdata returned by F (Function) | F("print")(500) See F |
Array |
The following parameter types are not supported:
Blob |
Class Instances other than Vector or Quaternion |