0


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 ;(

flag offensive
asked 2010-08-21 00:13:38.703112
1
add comment
2 Answers:
0


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.

permanent link | flag offensive
answered 2010-08-23 01:45:26.212769
1
add comment
0


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")
permanent link | flag offensive
answered 2010-08-25 18:09:06.496908
46
add comment
Your answer:
You are now not logged in but you can answer first and then login
toggle preview



Tags:

× 1

Asked: 1 year, 9 months ago

Seen: 1,328 times

Last updated: 1 year, 8 months ago

Related questions


Made with Django.