Remove a handler that you have added using CBA_fnc_addPerFrameHandler
_handle | The function handle you wish to remove |
_handle | a number representing the handle of the function. Use this to remove the handler. |
_handle = [{player sideChat format["every frame! _this: %1", _this];}, 0, ["some","params",1,2,3]] call CBA_fnc_addPerFrameHandler; sleep 10; [_handle] call CBA_fnc_removePerFrameHandler;
Nou & Jaynus, donated from ACRE project code for use by the community.