Raised This Month: $ Target: $400
 0% 

How to update a line in a file & file help.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 08-08-2018 , 12:53   Re: How to update a line in a file & file help.
Reply With Quote #6

don't use break under that "else if", you will just stop the for loop from continuing when the first steamid in the file isn't the connected players one.

Code:
native write_file(const file[], const text[], line = -1);
use the third parameter to specify a line you wan't to write.
jimaway is offline
 



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 12:13.


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