View Single Post
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-18-2018 , 04:06   Re: [HELP] Replace a line from .ini
Reply With Quote #3

Yes, create a new file copy all the data from the old file to the new file, except that line you want to replace, remove the oldfile rename the new file name to the oldfile name or simply just use write_file( const file[], const data[], line=the line position you want to replace )

1st method is the solution for Cant write file access problem for some hosts.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 04-18-2018 at 04:08.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh