Raised This Month: $ Target: $400
 0% 

New file natives...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
scrtxxcaz
Senior Member
Join Date: Feb 2007
Location: a place u cant find
Old 05-29-2007 , 00:02   Re: New file natives...
Reply With Quote #3

instead of using fputs which will just add to the line that is already there try this..
Code:
   new msg[256]
   format(msg,255,"; %s",text);
   replace(text, 511, text, msg)
   write_file(file, text, line - 1)
this should replace the line with the same text that was parsed and add the ; in front
__________________
Please leave your name when giving me any karma

Counter Strike Freeze Tag
Status: Testing.... (bugs)

Revised Registration
Status: In Progress
scrtxxcaz is offline
Send a message via AIM to scrtxxcaz
 



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 10:38.


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