LUA ERROR: sys/lua/IF/sys/hooks.lua:337: attempt to index global 'havebal' (a nil value)
1
2
3
4
5
6
7
2
3
4
5
6
7
function rp_drop(id,iid,type,ain,a,mode,x,y) 	if havebal[id]==true then 		parse("strip "..id.." "..type) 		parse("spawnitem "..type.." "..x.." "..y) 		havebal[id]=false 		return 1 	end
Someone know the solution?