findResourceByName

From GTA Connected
Revision as of 15:25, 24 August 2019 by Mex (talk | contribs) (Mex moved page FindResourceByName to findResourceByName)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

icon-iii.png icon-vc.png icon-sa.png icon-iv.png findResourceByName
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getResources
icon-iii.png icon-vc.png icon-sa.png icon-iv.png thisResource

icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.exports
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.getExport
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.isStarted
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.isStarting
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.name
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.restart
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.start
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.stop


Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png findResourceByName
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getResources
icon-iii.png icon-vc.png icon-sa.png icon-iv.png thisResource

icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.exports
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.getExport
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.isReady
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.isStarted
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.isStarting
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.name
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.restart
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.start
icon-iii.png icon-vc.png icon-sa.png icon-iv.png resource.stop