Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

IsHouse

Check if the object with ID ObjID is house (or boat) or not.

If object is house (or boat) - will return True.

If disconnected, or object not exists, or object not a house - will return False.

Pascal

function IsHouse(ObjID : Cardinal) : Boolean;

Python

def IsHouse(ObjID) -> boolean