how would i use rcon lua [codegoeshere] to modify a file such as cs2d/sys/server.cfg? i can't seem to understand all the io. crap ;(
Modify them via cs2d file. Open the directory of your cs2d file. Which's the default is in C: --> CounterStrike 2D Then open Sys and do whatever you want in there.
I don't think that's what he means MostAfa.
try something like this:
local file = assert(io.open("sys/server.cfg")) file:write("mp_startmoney 16000")
Tags:
files × 1
Asked: 1 year, 9 months ago
Seen: 1,328 times
Last updated: 1 year, 8 months ago
how to modify files