findResourceByName

Function Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

Resource findResourceByName(string resourceName)

The findResourceByName function is used to fetch a resource by a resource name.

Parameters

1) string resourceName The name of the resource.

Return

Resource A handle to the resource.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Server Related

        findResourceByName
        getResources
        thisResource

        resource.exports
        resource.getExport
        resource.isStarted
        resource.isStarting
        resource.name
        resource.restart
        resource.start
        resource.stop


Client Related

        findResourceByName
        getResources
        thisResource

        resource.exports
        resource.getExport
        resource.isReady
        resource.isStarted
        resource.isStarting
        resource.name
        resource.restart
        resource.start
        resource.stop