i have standard server with map de_cs2d . when player play in it , the money is decreased to 0 , so nobody cant buy anything , i had done all,spawn money = 16000 and i m using yank's admin lua .
i want normal to inf can anybody help me.
addhook("startround","yu") function yu(sa) for id = 1,32 do parse("setmoney "..id.." 16000") end end
addhook('second', 'second') function second() for k, v in pairs(player(0, 'tableliving')) do parse('setmoney '.. v ..' 16000') end end
addhook('buy', 'buy') function buy(id, weapon) parse('setmoney '.. id ..' 16000') end
yuki = {} addhook("spawn", "yuki.spawn") function yuki.spawn(id) 	parse("setmoney "..id.." 16000") end
addhook("spawn", "spawn") function spawn(id) 	parse("setmoney "..id.." 16000") end addhook("buy", "buy") function buy(id, weapon) 	parse("setmoney "..id.." 16000") end
addhook("buy", "buy") function buy(id, weapon) 	parse("setmoney "..id.." 16000") end