getResources: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
m (Mex moved page GetResources to getResources)
 
(No difference)

Latest revision as of 15:25, 24 August 2019

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