Global/ProtectedCall

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=ProtectedCall
+
|Description=Runs a function without stopping the whole script on error.
|Parent=Global
+
|Description=Runs a function without stopping whole script on error.
+
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=No
 
|IsClass=No
 +
|Name=ProtectedCall
 +
|Parent=Global
 
}}
 
}}
 
{{Arg
 
{{Arg

Revision as of 14:13, 25 February 2016

 ProtectedCall( )

Description

Runs a function without stopping the whole script on error.

Arguments

function func

Function to run

Returns

boolean

Were there any errors or not
Personal tools
Navigation