CBA_fnc_removePerFrameHandler

Description

Remove a handler that you have added using CBA_fnc_addPerFrameHandler.

Parameters

_handleThe function handle you wish to remove.  <NUMBER>

Returns

true if removed successful, false otherwise <BOOLEAN>

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

Close