When I enter mp_wpndmg mp5 100, the damage goes to 100. But, if I have parse("mp_wpndmg mp5 100"), the damage stays same. Any ideas?
More:
It appears you have to put the mp_wpndmg to .cfg file.
I'd like to see that you could put it in lua, but oh well.
How you run .cfg files from .lua?
Something like this?
1
for line in io.lines(nz_SETTINGS.."game settings.cfg") do parse(line) end
EDIT: The problem was that my CS2D install was fucked up. Thanks for everyone for helping.
edited 3×, last 27.05.12 12:06:45 am