F
filipe
Guest
i have a variable called havekey if this var is set to 1 then i want it to destroy an instance
here is the code
here is the code
Code:
//open
if havekey = 1;
with (obj_door)
{
instance_destroy();
}