15.03.2012, 16:36
That wouldn't work because you need to store the OBJECT ID (in your server, not it's model) to a variable.
Which means, when you use CreateObject, make sure you store the returned ID to something.
You know, like: "myobject = CreateObject(...);"
So, if you want to remove it, you need to use DestroyObject(myobject);
Which means, when you use CreateObject, make sure you store the returned ID to something.
You know, like: "myobject = CreateObject(...);"
So, if you want to remove it, you need to use DestroyObject(myobject);