1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
addhook("second","x.second")
x.time=0
function x.second()
	x.time=x.time+1
	if x.time>=3 then
		x.time=0
		parse("setmoney "..id.." "..0)
	end
end
Why will go wrong?
and this code
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
addhook("walkover","x.wo")
function x.wo(id,idd,type)
	if type>=66 and type<=66 then
		parse("setmoney "..id.." "..0)
	return 0
	end
return 0
end
When I pick up COINS from 0 to 100 money will not change.
sorry, my english is very bad.
What's wrong with this code?
1 
Offline