Warning: file_put_contents(/ff_84f91477d12eeae0b62a6e585c01609879ddec94bab4a4a9.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
removeEventHandler - OFPEC Scripting Command Reference | OFPEC The Editing Center

objectName removeEventHandler handlerType

Operand types

objectName: Object
handlerType: Array

Type of returned value

Description

Removes event handler added by addEventHandler.
Format of handler is [type, index]. Index is returned by addEventHandler. When any handler is removed, all handler indices higher than the deleted one should be decremented.

Used In

OFP/ArmA

Example

player removeEventHandler ["killed", 0]

Advertisement