Feche1320 Posted May 27, 2011 Share Posted May 27, 2011 I have my maps compressed in a .zip file... file delete only deletes a file that is on the same resource, any way to delete a file in the mods/deathmatch/resources directory? Thanks Link to comment
eAi Posted May 28, 2011 Share Posted May 28, 2011 You mean to delete an entire resource? Link to comment
Alex10 Posted May 28, 2011 Share Posted May 28, 2011 if you mean deleting a file in another resource : fileDelete(':resourceName/filepath') Link to comment
Feche1320 Posted May 28, 2011 Author Share Posted May 28, 2011 You mean to delete an entire resource? Yes, becouse I have the maps in a .zip file, and I need to make a /deletemap command. Link to comment
eAi Posted May 29, 2011 Share Posted May 29, 2011 You can't delete a resource with fileDelete. I'd report a bug requesting deleteResource. Link to comment
Feche1320 Posted May 29, 2011 Author Share Posted May 29, 2011 You can't delete a resource with fileDelete. I'd report a bug requesting deleteResource. Ok, thank you Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now