unit addMPEventHandler [event, action]
Operand types
unit:
Object[event, action] :
Array
Type of returned value
Description
The format of handler is [type,command].
The index of the current handler is returned.
Used In
Arma2OA
Example
_idx = player addMPEventHandler ["mpkilled", {_nul = _this execVM "playerkilled.sqf";}];