Skip to main content

DestroyObject

คำอธิบาย

Destroys (removes) an object that was created using CreateObject.

NameDescription
objectidThe ID of the object to destroy. Returned by CreateObject.

ส่งคืน

This function does not return any specific values.

ตัวอย่าง

public OnObjectMoved(objectid)
{
DestroyObject(objectid);
return 1;
}

ฟังก์ชั่นที่เกี่ยวข้องกัน