Warning: file_put_contents(/ff_51e8595449eb2feba56b278ef6058e0a7c6bd4c14062f7f5.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