ID:179459
 
I have a problem. I need to create an image proc for the user in one moment then in another moment and in a different proc i need to remove the same image, but i dont know how to refer to it. It would make everything simpler if there was a way to just clear all images from usr, is there a way to do that?
Skrylan wrote:
I have a problem. I need to create an image proc for the user in one moment then in another moment and in a different proc i need to remove the same image, but i dont know how to refer to it. It would make everything simpler if there was a way to just clear all images from usr, is there a way to do that?

Why don't you add a mob variable to hold that image? Something like this:
mob
var
myimage

In the first proc, set usr.myimage = image(blah blah). Then in the second proc, just del(usr.myimage).