i need help :
i want to remove image when i destroy a building?
+ When destroy a Building (dispenser,wall,...)
+ my picture will be remove
how i can write my ideas with code ?
addhook("objectkill","blabla") function blabla() 	freeimage(bla) end
addhook("objectkill","blabla") function blabla() 	if type == 7 then 		freeimage(haha) 	end end
addhook("objectkill","blabla") function blabla(objid,id) 	if object(objid,"type")==7 then 		freeimage(haha) 	end end