GetResourceLoadFailureReason: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
__NOTOC__  
{{Server function}}
This function is used to determinate the reason for a resource to not start.
__NOTOC__
This function retrieves the reason why a resource failed to start.


==Syntax==  
==Syntax==  

Revision as of 19:10, 17 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

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