Advertisement
HomelessMage

Untitled

Dec 16th, 2023
1,271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 4.54 KB | None | 0 0
  1. _uidArrayINDEPENDENT = [
  2.     [
  3.         "76561198040777688",
  4.         "Демьян Терентьев",
  5.         [["rhs_weap_ak103_zenitco01_b33_grip1","rhs_acc_pbs1","rhs_acc_2dpZenit_ris","rhsusf_acc_ACOG_RMR",["rhs_30Rnd_762x39mm_89",30],[],"rhsusf_acc_grip1"],[],[],["UK3CB_CW_US_B_LATE_U_CombatUniform_Ghillie_01_WDL",[["ACE_EarPlugs",1],["ACE_epinephrine",5],["ACE_morphine",5],["ACE_elasticBandage",15],["ACE_tourniquet",4],["ACE_splint",4]]],["rhssaf_vest_md98_woodland",[["rhs_mag_f1",1,1],["rhs_30Rnd_762x39mm_89",1,30]]],["UK3CB_B_Invisible",[["ACE_bloodIV_500",5],["rhs_30Rnd_762x39mm_89",14,30]]],"rhs_6b48","UK3CB_G_Bandanna_sport_flora_alt",["rhs_pdu4","","","",[],[],""],["ItemMap","ItemGPS","TFAR_anprc148jem","ItemCompass","TFAR_microdagr",""]]
  6.     ],
  7.     [
  8.         "76561198954068907",
  9.         "Иван Дубов",
  10.         [["rhs_weap_ak74m_zenitco01_grip1","rhs_acc_dtk4short","acc_pointer_IR","rhs_acc_ekp1",["rhs_30Rnd_545x39_7N22_AK",30],[],"rhs_acc_grip_ffg2"],[],["rhs_weap_pya","","","",["rhs_mag_9x19_17",17],[],""],["UK3CB_LSM_B_U_CombatSmock_33",[["rhs_mag_9x19_7n31_17",3,17],["rhs_grenade_khattabka_vog25_mag",3,1]]],["rhs_6b13_Flora_crewofficer",[["ACE_personalAidKit",1],["ACE_tourniquet",4],["rhs_30Rnd_545x39_7N22_AK",2,30],["rhs_grenade_khattabka_vog25_mag",1,1]]],["UK3CB_B_Invisible",[["ACE_bloodIV",5],["ACE_fieldDressing",20],["ACE_surgicalKit",1],["ACE_splint",4],["ToolKit",1],["ACE_EntrenchingTool",1],["ACE_Clacker",1],["UK3CB_ANA_B_H_Beret_GRN",1],["rhs_ec400_mag",6,1]]],"UK3CB_ANA_B_H_6b27m_WDL","UK3CB_G_Balaclava2_BLK",["rhs_pdu4","","","",[],[],""],["ItemMap","ItemGPS","","ItemCompass","ItemWatch",""]]
  11.     ],
  12.     [
  13.         "76561198810670428",
  14.         "Николай Язвинский",
  15.         [["rhs_weap_ak104_zenitco01_b33_grip1","rhs_acc_dtk4screws","","rhsusf_acc_ACOG_USMC",["rhs_30Rnd_762x39mm_polymer",30],[],"rhsusf_acc_grip1"],["rhs_weap_rpg26","","","",[],[],""],["rhsusf_weap_m1911a1","","","",["rhsusf_mag_7x45acp_MHP",7],[],""],["UK3CB_LSM_B_U_CombatSmock_31",[["ACE_elasticBandage",20],["ACE_splint",4],["ACE_morphine",5],["ACE_epinephrine",5]]],["rhs_6b13_Flora_6sh92",[["30Rnd_762x39_AK12_Mag_F",10,30]]],["UK3CB_LSM_B_B_Sidor_WDL_RIF",[["ACE_SpraypaintBlack",1],["ACE_microDAGR",1],["ACE_Kestrel4500",1],["ACE_Flashlight_MX991",1],["ACE_RangeCard",1],["ACE_Cellphone",1],["ACE_EntrenchingTool",1],["rhs_mag_f1",5,1],["rhs_mag_rdg2_white",5,1],["rhsusf_mag_7x45acp_MHP",5,7],[["rhs_weap_rpg26","","","",[],[],""],2]]],"UK3CB_ANA_B_H_6b27m_WDL","UK3CB_G_Balaclava",["rhs_pdu4","","","",[],[],""],["ItemMap","ItemGPS","TFAR_anprc148jem","ItemCompass","TFAR_microdagr","rhsusf_ANPVS_14"]]
  16.     ],
  17.     [
  18.         "76561199028171073",
  19.         "Аблахат Кенесбек",
  20.         [["rhs_weap_pkp","","","rhs_acc_ekp8_02",["rhs_100Rnd_762x54mmR",99],[],""],["rhs_weap_rpg26","","","",[],[],""],["rhsusf_weap_MP7A2_folded","","","",["rhsusf_mag_40Rnd_46x30_FMJ",40],[],""],["UK3CB_LSM_B_U_CombatSmock_31",[["ACE_elasticBandage",20],["ACE_splint",4],["ACE_morphine",5],["ACE_epinephrine",5],["ACE_EarPlugs",1]]],["rhs_6b13_Flora_6sh92",[]],["UK3CB_LSM_B_B_Sidor_WDL_RIF",[["ACE_SpraypaintBlack",1],["ACE_Kestrel4500",1],["ACE_Flashlight_MX991",1],["ACE_RangeCard",1],["ACE_Cellphone",1],["ACE_EntrenchingTool",1],["ACE_microDAGR",1],["rhs_mag_f1",5,1],["rhs_mag_rdg2_white",5,1],["150Rnd_762x54_Box",3,150],["rhsusf_mag_40Rnd_46x30_AP",2,40]]],"UK3CB_ANA_B_H_6b27m_WDL","UK3CB_G_Bandanna_aviator_green_check",["rhs_pdu4","","","",[],[],""],["ItemMap","ItemGPS","TFAR_anprc148jem","ItemCompass","TFAR_microdagr","rhsusf_ANPVS_14"]]    
  21.     ]
  22. ];
  23.  
  24.  
  25. _playerUID = getPlayerUID player;
  26. {
  27.     _uid = _x select 0;
  28.     _name = _x select 1;
  29.     _set = _x select 2;
  30.     if (_playerUID != _uid) exitWith {
  31.         // systemChat format ["ты не %1", _name];
  32.     };
  33.     _givePersonalEquipment = ["_uid", format ["Получить личную экипировку: %1", _name],"\a3\ui_f\data\igui\cfg\simpletasks\types\rearm_ca.paa",
  34.         // Action
  35.         {
  36.             params ["_target", "_player", "_params"];
  37.             _params params ["_uid", "_name", "_set"];
  38.             // _playerCash = [_player] call grad_lbm_fnc_getFunds;
  39.             // if (_playerCash < 500) exitWith {
  40.             //  hintSilent "Недостаточно денег!"
  41.             // };
  42.             // [_player, -500] call grad_moneymenu_fnc_addFunds;
  43.             // hintSilent "Вы приобрели личный комплект за 500Р";
  44.             _player setUnitLoadout _set;
  45.         },
  46.         // Condition
  47.         {
  48.             true
  49.         },
  50.         {},
  51.         // Params
  52.         [_uid, _name, _set],
  53.         [0,0,0],
  54.         100
  55.     ] call ace_interact_menu_fnc_createAction;
  56.  
  57.     [_unit, 0, ["ACE_MainActions"], _givePersonalEquipment] call ace_interact_menu_fnc_addActionToObject;
  58. } forEach _uidArrayINDEPENDENT;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement