AddResourceMap

From Multi Theft Auto: Wiki
Revision as of 13:54, 19 October 2007 by Lil Toady (talk | contribs) (New page: {{Server function}} __NOTOC__ This function retrieves a table of all the resources that exist on the server. ==Syntax== <syntaxhighlight lang="lua"> xmlnode addResourceMap ( resource, name, [ dimension...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function retrieves a table of all the resources that exist on the server.

Syntax

xmlnode addResourceMap ( resource, name, [ dimension = 0 ] )

Returns

Returns a table of resources.

Example

This function lists all loaded resources in the console.

function blabla ()
     --this does blabla
end

See Also