Skip to main content

Entity::wouldEntityBeOccluded

First parameter was previously an Entity but after further research it is definitely a hash.

Syntax

```js mp.game.entity.wouldEntityBeOccluded(hash, x, y, z, p4); ```

Required Arguments

  • hash: Model hash or name
  • x: float
  • y: float
  • z: float
  • p4: Boolean

Return value

  • Boolean

Example

```js // todo ```

See also