Skip to main content

Player::setBlockingOfNonTemporaryEvents

works with Player::TASK_SET_BLOCKING_OF_NON_TEMPORARY_EVENTS to make a ped completely oblivious to all events going on around him

Syntax

```js player.setBlockingOfNonTemporaryEvents(toggle); ```

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

```js // todo ```

See also