- Documentation
- Server functions
- removeResourceFile
Function
removeResourceFile
Deletes a file from the resource folder (works like fileDelete on a path in the resource).
Syntax
bool removeResourceFile(resource theResource, string fileName)Arguments
theResourceresource- The resource.
fileNamestring- The file path in the resource.
Returns
true if the file was deleted.
Example
removeResourceFile(getThisResource(), "logi/stary.txt")