Fremove
From SA-MP Wiki
(Difference between revisions)
Revision as of 21:51, 30 January 2014 Smithy (Talk | contribs) ← Previous diff |
Revision as of 21:41, 4 February 2014 Connor Mead (Talk | contribs) Next diff → |
||
Line 25: | Line 25: | ||
[[Category:Scripting Functions]] | [[Category:Scripting Functions]] | ||
[[Category:File Functions]] | [[Category:File Functions]] | ||
+ | |||
+ | [[fr:Fremove]] |
Revision as of 21:41, 4 February 2014
Note: This function name starts with a lowercase letter. |
Description:
Delete a file.
(name[])
name[] | The path of the file to delete. (NOTE: NOT a file handle) |
Return Values:
true (1) on success, false (0) on failure.
fremove("Example.txt");
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- fopen: Open a file.
- fclose: Close a file.
- fwrite: Write to a file.
- fread: Read a file.