Scripting/Squirrel/Functions/Misc/CallFunc
From VC-MP Wiki
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
- Message
- MessagePlayer
- MessageAllExcept
- PrivMessage
- PrivMessageAll
- ClientMessage
- ClientMessageToAll
- Announce
- AnnounceAll
- SendPlayerMessage
- KickPlayer
- BanPlayer
- BanIP
- UnbanIP
- GetWeaponName
- GetWeaponID
- GetDistrictName
- GetSkinName
- GetTickCount
- GetTime
- GetFullTime
- IsNum
- BindKey
- UnbindKey
- CallFunc
- InPoly
- DistanceFromPoint
- ReloadScripts
