Skip to main content

Decisionevent::addShockingEventForEntity

duration is float here

Event types - camx.me/gtav/tasks/shockingevents.txt

Syntax

```js mp.game.decisionevent.addShockingEventForEntity(type, entity, duration); ```

Required Arguments

  • type: int
  • entity: Entity handle or object
  • duration: float

Return value

  • ScrHandle

Example

```js // todo ```

See also