GetResourceName: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
__NOTOC__  
{{Server client function}}
This function is used to get resources names.
__NOTOC__
This function gets the name of the specified resource.


==Syntax==  
==Syntax==  

Revision as of 19:10, 17 August 2007

This function gets the name of the specified resource.

Syntax

string getResourceName ( resource )

Required Arguments

  • resource: The resource you wish to get the name of.

Returns

Returns a string with the resource name in it, or false if the resource does not exist.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

See Also

Template:FunctionArea functions -- leave this unless you complete the function