ACE3/addons/common/functions/fnc_requestCallback.sqf
2015-01-17 00:21:47 +01:00

23 lines
507 B
Plaintext

/**
* fn_requestCallback.sqf
* @Descr: N/A
* @Author: Glowbal
*
* @Arguments: []
* @Return:
* @PublicAPI: false
*/
#include "script_component.hpp"
private ["_info", "_accepted", "_caller", "_target", "_requestID", "_requestMessage", "_callBack"];
_info = _this select 0;
_accepted = _this select 1;
_caller = _info select 0;
_target = _info select 1;
_requestID = _info select 2;
_requestMessage = _info select 3;
_callBack = _info select 4;
[_caller, _target, _accepted] call compile _callBack;