findResourceByName

From GTA Connected
(Redirected from FindResourceByName)
Jump to: navigation, search

Function Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

Description

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

Parameters

Type Name Presence Default Value Description
string resourceName required n/a The name of the resource.

Returns

Success Returns

Type Description
Resource A handle to the resource.

Failure Returns

Type Value
null n/a

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.isStarted
resource.isStarting
resource.name
resource.restart
resource.start
resource.stop