getResources

From GTA Connected
Revision as of 15:25, 24 August 2019 by Mex (talk | contribs) (Mex moved page GetResources to getResources)
(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

array getResources(void)

The getResources function is used to fetch all resource handles.

Parameters

void This function doesn't take any parameters.

Return

array An array of all resources with syntax array<int index, Resource 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