You'll be surely credited to my script. I promise!
Forum
CS2D Scripts Every minutes gives moneyEvery minutes gives money
4 replies 1
You'll be surely credited to my script. I promise!
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
script = { 	moneyGainedPerMinute = 1000 } addhook('minute', '_minuteFunc') function _minuteFunc() 	for _, id in pairs(player('table')) do 		parse('setmoney '..id..' '..(player(id, 'money') + script.moneyGainedPerMinute)) 	end end
There.
Edit :
1
LUA ERROR: sys/lua/try.lua:26: Bad Argument#1 to 'player' (number expected, got string)
edited 1×, last 21.08.13 12:27:56 pm
1