<commit_before>// Virtual Arsenal Supporter Customization - 
// by CRE4MPIE
// Inspired by fn_r3m3dy - thx xD
// PS: Arrays are a bitch


// Remember to change your createvehicle.txt to log for logic only and not kick ( 2 "^Logic")
// Add exception to antihack for BIS_fnc_arsenal,bis_fnc_setidentity in filterExecAttempt.sqf
// payload.sqf	if (!isNull (uiNamespace getVariable ["RscDisplayArsenal", displayNull]) && !_isAdmin) exitWith { _cheatFlag = "Virtual Arsenal" };


switch (_supporterLevel) do {			
		case 1: // Supporter
		{
		["Open", true] spawn BIS_fnc_arsenal;	
		
		if (isDedicated) exitWith {};
		if !(hasinterface) exitwith {};

		["Preload"] call BIS_fnc_arsenal;
		private["_keyDown"];

		[] spawn {
			waitUntil {!isNull player && player == player};
			waitUntil{!isNil "BIS_fnc_init"};
			waituntil {!(IsNull (findDisplay 46))};
	
	private["_i", "_keyDown"];
   	_keyDown = (findDisplay 46) displayAddEventHandler ["KeyDown", "if (_this select 1 == 221) then {['Open', true] call BIS_fnc_arsenal;}"];
				};
					
				
			
				systemChat format["Welcome %1, You have a Supporter Loadout!", name player];
		};	
			
	};
	<commit_msg>Changed Virtual Arsenal to INSERT key<commit_after>// Virtual Arsenal Supporter Customization - 
// by CRE4MPIE
// Inspired by fn_r3m3dy - thx xD
// PS: Arrays are a bitch


// Remember to change your createvehicle.txt to log for logic only and not kick ( 2 "^Logic")
// Add exception to antihack for BIS_fnc_arsenal,bis_fnc_setidentity in filterExecAttempt.sqf
// payload.sqf	if (!isNull (uiNamespace getVariable ["RscDisplayArsenal", displayNull]) && !_isAdmin) exitWith { _cheatFlag = "Virtual Arsenal" };


switch (_supporterLevel) do {			
		case 1: // Supporter
		{
		
		if (isDedicated) exitWith {};
		if !(hasinterface) exitwith {};

		["Preload"] call BIS_fnc_arsenal;
		private["_keyDown"];

		[] spawn {
			waitUntil {!isNull player && player == player};
			waitUntil{!isNil "BIS_fnc_init"};
			waituntil {!(IsNull (findDisplay 46))};
	
	private["_i", "_keyDown"];
   	_keyDown = (findDisplay 46) displayAddEventHandler ["KeyDown", "if (_this select 1 == 210) then {['Open', true] call BIS_fnc_arsenal;}"];
				};
					
				["Open", true] spawn BIS_fnc_arsenal;	
			
				systemChat format["Welcome %1, You have a Supporter Loadout!", name player];
		};	
			
	};
	
{'fraction_non_alphanumeric': 0.13161290322580646, 'fraction_numerical': 0.012043010752688172, 'mean_word_length': 3.8763102725366876, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4205715', 'n_tokens_mistral': 910, 'n_tokens_neox': 781, 'n_words': 227}