Removing files - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Removing files (
/showthread.php?tid=643378)
Removing files -
biker122 - 18.10.2017
Is there any way of removing files other than .txt (or) .ini format through the script? I tried to remove an .exe file using fremove, but it didn't work. I haven't been in touch with pawn for a while now, so I'd be very happy to hear from you guys!
Re: Removing files -
Prokill911 - 18.10.2017
You've never been able to remove ".exe" files as there's only 1 .exe file an that's to start the server, so... I don't get why you could possibly trying to remove a .exe file??
You realize .exe is an executable file?
Re: Removing files -
Deadpoop - 18.10.2017
Quote:
Originally Posted by Prokill911
You've never been able to remove ".exe" files as there's only 1 .exe file an that's to start the server, so... I don't get why you could possibly trying to remove a .exe file??
You realize .exe is an executable file?
|
He cant remove server.exe anyway, he can only remove files inside of scripfiles folder
Re: Removing files -
biker122 - 19.10.2017
I mentioned ".exe" as an example. The general question was "can you remove files that are outside of scriptfiles folder which have other formats like .pwn or .amx or .inc"
Re: Removing files -
Sew_Sumi - 19.10.2017
You shouldn't have .pwn files on the server...
What you're looking for is the plugin FileManager...
https://sampforum.blast.hk/showthread.php?tid=92246