I'm having a problem with a image, here is the code:
(each reward in my script are divided into pon1, pon2, pon3...).
the 'pon' is your points in that life.
This is what should happen:
So, what command I must use to remove the image?
function array(v) 	local a = {} 	for i = 1, 32 do 		a[i] = v 	end 	return a; end ponImg = array(false) addhook('die', 'dieHook') function dieHook(id) 	pon7[id] = 0 	checkImage(id) end --use checkImage in any function that adds points function checkImage(id) 	if pon7[id] >= 2000 then 		if ponImg[id] then 			freeimage(ponImg[id]) 		end 		ponImg[id] = true 		ponImg[id] = image('gfx/car_01.png', 1, 0, 200+id) 	else 		freeimage(ponImg[id]) 		ponImg[id] = false 	end end