Files
AltisLifeFramework/life_server/Functions/Systems/fn_recupKeyForHC.sqf
Benjamin Kyd c8014ec81e initial commit
2019-06-05 00:45:50 +01:00

15 lines
483 B
Plaintext

#include "\life_server\script_macros.hpp"
/*
File: fn_recupKeyForHC.sqf
Author : NiiRoZz
Description:
Tells the server to recup the Key of player
*/
private ["_uid","_side"];
_uid = [_this,0,"",[""]] call BIS_fnc_param;
_side = [_this,1,sideUnknown,[civilian]] call BIS_fnc_param;
if (_uid isEqualTo "") exitWith {}; //NULL
_keyArr = missionNamespace getVariable [format ["%1_KEYS_%2",_uid,_side],[]];
[_keyArr] remoteExecCall ["HC_fnc_receivekeyofServer",HC_Life];