Raised This Month: $12 Target: $400
 3% 

Keyvalues saving to file


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
-.-Owned Myself-.-
Member
Join Date: Jul 2008
Old 05-25-2010 , 08:14   Keyvalues saving to file
Reply With Quote #1

I've been making a plugin (an advanced version of sm_addadmin) to parse through admins.cfg and admin_groups.cfg by using Keyvalues (since they are in that format).

I am having trouble actually changing values in the admins.cfg file though (such as the auth key). It says it manages to delete the key then I force it to be created.

I don't know how to actually save the new keyvalues to an existing file as I have only ever used keyvalues to get information, never write it.
-.-Owned Myself-.- 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 14:57.


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