DeleteResource: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 2: Line 2:
__NOTOC__
__NOTOC__
{{Server function}}
{{Server function}}
{{Needs Example}}
This function deletes a resource.
This function deletes a resource.


Line 26: Line 27:
==See Also==
==See Also==
{{Resource_functions}}
{{Resource_functions}}
[[Category:Needs_Example]]

Revision as of 13:25, 12 November 2011

Accessories-text-editor.png Script Example Missing Function DeleteResource needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

This function deletes a resource.

Syntax

bool deleteResource ( string resourceName )

Required Arguments

  • resourceName: The name of resource to delete.

Returns

Returns true if the resource has been deleted successfully, false otherwise.

Example

-- No example yet

Requirements

This template will be deleted.

See Also