Raised This Month: $ Target: $400
 0% 

Solved [HELP] Replace a line from .ini


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode