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)