Fremove

From SA-MP Wiki

Revision as of 10:55, 1 May 2012; view current revision
←Older revision | Newer revision→
Jump to: navigation, search


Delete a file from the scriptfiles folder.


Parameters:
(name[])
name[]The path of the file to delete


Returns1 on success, 0 on failure. (Not verified!)


Image:32px-Ambox_warning_orange.png Note: The file path must be valid.


Image:32px-Ambox_warning_orange.png Note: If the file you are attempting to delete is open at the time that fremove is used, it will not work. You must first use fclose before you try deleting it, that is, if you have used fopen.


fremove("Example.txt");

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

Personal tools