Decisionevent::addShockingEventForEntity

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

duration is float here

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

Syntax

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

Required Arguments

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

Return value

  • ScrHandle

Example

// todo

See also

Template:Decisionevent s function c