GetResourceLoadFailureReason: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 26: Line 26:


==See Also==
==See Also==
<!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
{{Resource functions}}
{{FunctionArea_functions}}
[[Category:Incomplete]] -- leave this unless you complete the function
[[Category:Incomplete]] -- leave this unless you complete the function

Revision as of 23:55, 27 August 2007

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

Shared

-- leave this unless you complete the function