Functions/DarkRP/Shared/simplerrRun

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name DarkRP.simplerrRun(function f, vararg args)
Description:
Run a function with the given parameters and send any runtime errors to admins.
Returns: vararg retVals
Part of Library: DarkRP
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/simplerrRun]DarkRP.simplerrRun[/url][/b]

Function parameters

  1. f (function)
  2. The function to be called.

  3. args (vararg) (optional)
  4. The arguments to be given to f.


Function return values

  1. retVals (vararg)
  2. The return values of f.