open.mp forum
[Pawn] rename file ini - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] rename file ini (/showthread.php?tid=1813)



rename file ini - Lord_Bukake - 2021-03-27

Hi, how can i rename a server .ini file?



i'm doing a command to rename server ini files, but i can't find the function or method.

Could you help me? thank u


RE: rename file ini - DandoRYx - 2021-03-27

You need to create a new file, copy everything that's in the original file, put it in the new file and then delete the original file.