CBA_fnc_removePerFrameHandler

Description

Remove a handler that you have added using CBA_fnc_addPerFrameHandler

Parameters

_handleThe function handle you wish to remove

Returns

_handlea number representing the handle of the function.  Use this to remove the handler.

Examples

_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;

Author

Nou & Jaynus, donated from ACRE project code for use by the community.

Close