SA-MP Forums Archive
Is it possible dini_Rename? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is it possible dini_Rename? (/showthread.php?tid=216886)



Is it possible dini_Rename? - cepiokas - 26.01.2011

Hello everybody. I have a question.
Is it possible dini_Rename?
Thanks for answer.


Re: Is it possible dini_Rename? - DRIFT_HUNTER - 26.01.2011

Yes and no...you need to read your file save it to string,write to your new file and delete old file and string....


Re: Is it possible dini_Rename? - Calgon - 26.01.2011

DUtils retains such a function.

http://pastebin.com/uZpprTXF

Usage: frename(oldname[],newname[])