Feche1320 Posted May 27, 2011 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
Alex10 Posted May 28, 2011 Posted May 28, 2011 if you mean deleting a file in another resource : fileDelete(':resourceName/filepath')
Feche1320 Posted May 28, 2011 Author 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.
eAi Posted May 29, 2011 Posted May 29, 2011 You can't delete a resource with fileDelete. I'd report a bug requesting deleteResource.
Feche1320 Posted May 29, 2011 Author Posted May 29, 2011 You can't delete a resource with fileDelete. I'd report a bug requesting deleteResource. Ok, thank you
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