![√](img/ok.gif)
1
2
3
4
5
6
2
3
4
5
6
addhook("objectkill","objectkill_") function objectkill_(id,player) if object(id,"type") == 5 and object(id,"tilex") == 60 then freehook("use","camelon") end 	 end
2.
![√](img/ok.gif)
3.
![√](img/ok.gif)
when destroy supply
addhook("objectkill","objectkill_") function objectkill_(id,player) if object(id,"type") == 5 and object(id,"tilex") == 60 then freehook("use","camelon") end 	 end
addhook("objectkill","objectkill_") function objectkill_(id,player) 	if object(id,"type") == 5 and object(id,"tilex") == 60 then 		-- disable button 		freehook("use","camelon") 		-- reactivate after 10 seconds 		timer(10000,"parse","lua addhook('use', 'camelon')") 	end end
function add_camelon() 	addhook("use","camelon") end
-- ... obj- kill hook ... timer(10000,"add_camelon")
addhook("objectkill","objectkill_") function objectkill_(id,player) 	if object(id,"type") == 5 and object(id,"tilex") == 60 then 		-- disable button 		freehook("use","camelon") 		-- reactivate after 10 seconds 		timer(10000,"parse","lua addhook('use', 'camelon')") 		-- delete image 		freeimage(someImage) 	end end
img = image(imagePath, x, y, 3)
freeimage(img)
whatthefuckimage = image(imagePath, x, y, 3) freeimage(whatthefuckimage)
timer(10000,"parse",'lua freehook("use","camelon")')
addhook("objectkill","objectkill_") function objectkill_(id,player) if object(id,"type") == 5 and object(id,"tilex") == 60 then -- disable button freehook("use","camelon") -- reactivate after 10 seconds timer(10000,"parse","lua addhook('use', 'camelon')") end end