Skip to main content

Interior::unkGetInteriorAtCoords

Returns the interior ID at the given coords, but only if the unknown variable is set to 0, otherwise it will return 0.

Syntax​

```js mp.game.interior.unkGetInteriorAtCoords(x, y, z, unk); ```

Required Arguments​

  • x: float
  • y: float
  • z: float
  • unk: int

Return value​

  • int

Example​

```js // todo ```

See also​