RemoveResourceFile: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
===Required Arguments===  
===Required Arguments===  
<!-- List each argument one per line. This should be the argument's name as in the argument list above, NOT the argument's data type -->
<!-- List each argument one per line. This should be the argument's name as in the argument list above, NOT the argument's data type -->
*'''theResource:''': The resource element.
*'''theResource:''' The resource element.
*'''fileName:''': The filename what you wan't to delete.
*'''fileName:''' The filename what you wan't to delete.


===Returns===
===Returns===

Revision as of 05:56, 19 June 2009

This function removes a file from the resource.

Syntax

bool removeResourceFile ( resource theResource, string fileName )

Required Arguments

  • theResource: The resource element.
  • fileName: The filename what you wan't to delete.

Returns

Returns true if file was deleted, otherwise false.

Example

Click to collapse [-]
Server
-- Add example

See Also