How to delete a gamemode.amx file?
#4

Quote:
Originally Posted by Tamer T
Посмотреть сообщение
I think it is possible for it to be done as a .dll (writing del root function)
At first, this is probably correct, although I'm not sure how far your R/W permissions go. If outside the scriptfiles folder or not. Still this is the only thing that might work, due to the fact that your scripts can only access the scriptfiles.

Quote:
Originally Posted by Tamer T
Посмотреть сообщение
but that is for windows servers and I don't know how can I start a plugin via the script.
You don't need to start it, you just need to trigger the method that deletes the file. Still it's questionable if it's possible to delete a running gamemode. You should try that out manually first. Just backup your gamemode, run your server and try to delete the gamemode while the server is running.
Back to how you call the method: It's just like a normal function that you implemented into the library, you can just call it with e.g. DeleteGM();, or however you called the method.
Reply


Messages In This Thread
How to delete a gamemode.amx file? - by Tamer - 19.01.2013, 19:53
Re: How to delete a gamemode.amx file? - by Calgon - 19.01.2013, 19:57
Re: How to delete a gamemode.amx file? - by mineralo - 19.01.2013, 19:59
Re: How to delete a gamemode.amx file? - by DeathOnaStick - 19.01.2013, 20:02
Re: How to delete a gamemode.amx file? - by Vince - 19.01.2013, 20:10
Re: How to delete a gamemode.amx file? - by gnoomen2 - 19.01.2013, 20:22
Re: How to delete a gamemode.amx file? - by Calgon - 20.01.2013, 00:06
Re: How to delete a gamemode.amx file? - by Tamer - 20.01.2013, 06:29
Re: How to delete a gamemode.amx file? - by mineralo - 20.01.2013, 07:25
Re: How to delete a gamemode.amx file? - by Tamer - 20.01.2013, 07:58

Forum Jump:


Users browsing this thread: 1 Guest(s)