Scripting/Squirrel/Functions/Misc/CallFunc

From VC-MP Wiki

Jump to: navigation, search

Calls a function from another script loaded by the server and returns whatever data the function returns.

Syntax

ReturnType CallFunc( string script, string function, args... )

Arguments

  • script - The script name to call, including the .nut on the end
  • function - The function to call
  • args - The arguments to pass to the function

Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even two :o

TODO

Notes

TODO

Related Functions

Personal tools
squirrel scripting