Raised This Month: $ Target: $400
 0% 

Writing/Reading File Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
stupok
Veteran Member
Join Date: Feb 2006
Old 03-05-2006 , 16:16  
Reply With Quote #7

I DO NOT CLAIM OWNERSHIP TO ANY OF THE CODE BELOW

I suppose I just wasn't clear enough, or was asking for too much. Sorry about that, I'll try to ask some simpler questions.

_____________________________________________ __________________
Code:
new Player[24]         read_argv(1, Player, 23)             new Password[24]         read_argv(2, Password, 23)             new PlayerID[24] = get_user_userid(Player)         remove_quotes(Player);         remove_quotes(Password);         remove_quotes(PlayerID);         new szFile[24]         format( szFile, 23, "addons/EntMod/DF_admins.txt")     write_file(szFile,"%s;%s;1 //%s",PlayerID,Password,Player,-1)

Will this code write the line below to a txt file in addons/EntMod (with strings in the place of the strings' names)? What mistakes am I making?

Code:
PlayerID;Password;1 //Player
_____________________________________________ _______________

I have more questions, but I'll stop here for now.
stupok 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 20:16.


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