SA-MP Forums Archive
change yini(.ini) file name with command - 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: change yini(.ini) file name with command (/showthread.php?tid=454782)



change yini(.ini) file name with command - fireboy - 30.07.2013

Hello, how to create a command that change's .ini file name?
like /changenick command.


Re: change yini(.ini) file name with command - Sublime - 30.07.2013

Use INI_WriteString, and make sure you have tags defined before you can do a perfect file writing command.


Re: change yini(.ini) file name with command - fireboy - 30.07.2013

Quote:
Originally Posted by Sublime
Посмотреть сообщение
Use INI_WriteString, and make sure you have tags defined before you can do a perfect file writing command.
could you write an example?