GetResourceLoadFailureReason

From Multi Theft Auto: Wiki
Revision as of 19:10, 17 August 2007 by Arc (talk | contribs)
Jump to navigation Jump to search

This function retrieves the reason why a resource failed to start.

Syntax

string getResourceLoadFailureReason ( resource )

Required Arguments

  • resource: The resource you wish to check.

Returns

Returns a string with the failure reason in it, or false if the resource doesn't exist.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

See Also

Template:FunctionArea functions -- leave this unless you complete the function