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

unitName removeMPEventHandler [event,index]

Operand types

unitName: Object
[event,index]: Array

Type of returned value

Description

Removes MP event handler added with addMPEventHandler.

Format of handler is [type,index]. Index is returned by addMPEventHandler. When any handler is removed, all handler indices highter than the deleted one should decrement.

Used In

Arma2OA

Example

player removeMPEventHandler ["killed", 0];

Advertisement