diff --git a/addons/common/fnc_addPerFrameHandler.sqf b/addons/common/fnc_addPerFrameHandler.sqf index 5635632d1..6948c6af6 100644 --- a/addons/common/fnc_addPerFrameHandler.sqf +++ b/addons/common/fnc_addPerFrameHandler.sqf @@ -6,11 +6,16 @@ Description: Parameters: _function - The function you wish to execute. - _delay - The amount of time in seconds between executions, 0 for every frame. [optional] (default: 0) - _args - Parameters passed to the function executing. This will be the same array every execution. [optional] + _delay - The amount of time in seconds between executions, 0 for every frame. (optional, default: 0) + _args - Parameters passed to the function executing. This will be the same array every execution. (optional) + +Passed Arguments: + _this + 0: _args - Parameters passed by this function. Same as '_args' above. + 1: _handle - A number representing the handle of the function. Same as '_handle' returned by this function. Returns: - _handle - a number representing the handle of the function. Use this to remove the handler. + _handle - A number representing the handle of the function. Use this to remove the handler. Examples: (begin example)