delete files with a specific prefix
I need to delete some maps in my maps folder with amxx, i need to do that:
When maps is with czero_ prefix - delete automaticaly after XX seconds (by task) Can someone help me? |
Re: delete files with a specific prefix
Explain instead what you want really to do, what is this czero_ maps, etc.
Because making a plugin to delete maps after X seconds doesn't make sense. |
Re: delete files with a specific prefix
I hosting public servers but someone uploaded custom maps and i dont like this.
I need plugin to delete all maps with specific prefix cz_ aim_ fy_ and etc... After XX seconds (by task) |
Re: delete files with a specific prefix
Try this: UNTESTED
Code:
|
Re: delete files with a specific prefix
Are you going again to start to post random shit code ?
@faki, if you an hoster, what the hell you need a Pawn plugin ? Are you going to install this plugin on all servers ? And what about if admins remove the plugin ? This doesn't make sense, just do a bash script or something similar. |
| All times are GMT -4. The time now is 18:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.