FileDelete

From Multi Theft Auto: Wiki
Revision as of 18:13, 18 June 2009 by Awwu (talk | contribs) (Needs example)
Jump to navigation Jump to search

Deletes the specified file.

Syntax

bool fileDelete ( string filename [, resource res = getThisResource()] )

Required Arguments

  • filename: the name of the file to delete.

Optional Arguments

  • res: the resource containing the file to delete.

Returns

Returns true if successful, false otherwise (for example if there exists no file with the given name, or it does exist but is in use).

Example

--TODO

See Also