GetResourceLoadFailureReason

From Multi Theft Auto: Wiki

Jump to: navigation, search

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

Syntax

string getResourceLoadFailureReason ( resource theResource )

Required Arguments

  • theResource: The resource you wish to check.

Returns

If the resource failed to load, returns a string with the failure reason in it. If it loaded successfully, returns an empty string. Returns false if the resource doesn't exist.

Example

Click to collapse [-]
Server
-- Add example..

See Also

FROM VERSION 1.3.1 ONWARDS