Raised This Month: $ Target: $400
 0% 

Write to CFG


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Dav3
Senior Member
Join Date: Apr 2006
Location: Dust2
Old 08-27-2006 , 04:56   Write to CFG
Reply With Quote #1

I wrote the ide to the request topic, but nobody done it, so I've make it.

Code:
/* 
AMX MOD X Plugin: Write CFG 
Description: With This little plugin you can write lines to file, when u playing.

Commands: 
- amx_file_write <dir/configfile.cfg> <line> - write
- amx_file_show <dir/configfile.cfg> - Shows the file
- amx_file_delete <dir/configfile.cfg> - delete the file
- amx_file_create <dir/configfile.cfg> - create a file
- amx_file_clear <dir/configfile.cfg> - clear the file

Acces flag: rcon
Example: 
- amx_write "addons/amxmodx/configs/amxx.cfg" "sv_alltalk 1"

Version 0.8

by D@V3   [[email protected]/www.dav3.extra.hu]
*/
Update coming soon with new commands!

Install: writecfg.amxx -> amxmodx/plugins dir
filecmds.txt -> amxmodx/data/lang dir
writecfg.amxx -> amxmodx/configs/plugins.ini/

thx translating for Fr3ak0ut (en, sv), flinst0nes (de), trawaitor (pl) and Dr Nick^ (nl)
Attached Files
File Type: txt filecmds.txt (5.8 KB, 461 views)

Last edited by Dav3; 10-08-2006 at 09:23. Reason: Update
Dav3 is offline
Send a message via MSN to Dav3 Send a message via Skype™ to Dav3
 



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:52.


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