Fremove

From SA-MP Wiki

Jump to: navigation, search

Fremove


Deletes an existing file from your scriptfiles folder.


Parameters:
(name[])
name[]The file to delete


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


Note: The file pointer must be valid.


new File:example = fopen("Hello.txt", io_append);
fwrite(example, "Hi there!");
fremove(example);
print("Why did I create it in the first place?");

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools