SA-MP Forums Archive
How to delete a ini file? - 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: How to delete a ini file? (/showthread.php?tid=542075)



How to delete a ini file? - JimGorecky - 16.10.2014

Hi friends

I would like to explain me how I can delete a file from this address: "/vehicles/%d.ini/" is that I need this function to remove the vehicle, have
that direction defined as "FILE_VEHICLES".


Re : How to delete a ini file? - streetpeace - 16.10.2014

fremove.


Respuesta: Re : How to delete a ini file? - JimGorecky - 16.10.2014

Quote:
Originally Posted by streetpeace
Посмотреть сообщение
fremove.
I could at least an idea of ​​how to do it?


Re: How to delete a ini file? - dominik523 - 16.10.2014

Код:
fremove("/vehicles/%d.ini"); // replace %d with your vehicle
Please search the wiki next time, fremove isn't so hard.