GetResourceInfo: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 21: Line 21:
===Returns===
===Returns===
<!-- Make this descriptive. Explain what cases will return false. If you're unsure, add a tag to it so we can check -->
<!-- Make this descriptive. Explain what cases will return false. If you're unsure, add a tag to it so we can check -->
Returns ''true'' if blah, ''false'' otherwise.
Returns ''true'' if blah, ''false'' otherwise. <br \>
- may return a string, bool or nil
may return a string, bool or nil


==Example==  
==Example==  

Revision as of 21:51, 11 April 2007

This fake function is for use with blah & blah and does blahblahblabhalbhl

Syntax

getResourceInfo ( resource, string ) 

Required Arguments

  • argumentName: description

Optional Arguments

NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.

  • argumentName2: description
  • argumentName3: description

Returns

Returns true if blah, false otherwise.
may return a string, bool or nil

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