When i using 2 images on the player.
I can't free the images.
This code works perfect too use 2 images
1
2
3
2
3
image(pic,1,0,200+p) id=image(pic2,1,0,200+p) imagecolor(id,255,0,0)
But if i want too free all images, it's only removes the first image.
If i write freeimage(id). It doesn't remove the other image.
But if i use this code, it will fails and give all the images red color.
But i can free all images from that player.
1
2
3
2
3
image(pic,1,0,200+p) image(pic2,1,0,200+p) imagecolor(p,255,0,0)
So how can i fix this the easiest way, do i need too use arrays?