Change category from "LUA Functions" to "Lua functions".
(Change category from "LUA Functions" to "Lua functions".) |
|||
| Line 1: | Line 1: | ||
<center>'''pcall''' ''-Documentation by [[user:Darjk|Darjk]]-''</center> | <center>'''pcall''' ''-Documentation by [[user:Darjk|Darjk]]-''</center> | ||
Native Lua statement: | |||
Returns a boolean value to catch errors from the function call (func). | Returns a boolean value to catch errors from the function call (func). | ||
| Line 35: | Line 37: | ||
: pcall will ''also'' return other arguments returned from the "function" if all is successful. | : pcall will ''also'' return other arguments returned from the "function" if all is successful. | ||
{{LUA}} | |||
{{ | |||