Skip to main content

Object::doesDoorExist

Always used prior a door functions Example

if (OBJECT::_DOES_DOOR_EXIST(doorHash)) {

   OBJECT::REMOVE_DOOR_FROM_SYSTEM(doorHash);  

}

Syntax

```js mp.game.object.doesDoorExist(doorHash); ```

Required Arguments

  • doorHash: Model hash or name

Return value

  • Boolean

Example

```js // todo ```

See also