<commit_before>// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
//	@file Name: fn_openParachute.sqf
//	@file Author: AgentRev

#define PARACHUTE_PRECHECK ({player distance _x < 10 max (sizeOf typeOf _x)} count (player nearEntities ["Helicopter_Base_F", 20]) == 0)

if (!alive player || vehicle player != player) exitWith {};

if (PARACHUTE_PRECHECK) then
{
	call fn_forceOpenParachute;<commit_msg>Fixed parachute opening delay after ditching off heli<commit_after>// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
//	@file Name: fn_openParachute.sqf
//	@file Author: AgentRev

#define PARACHUTE_PRECHECK ({player distance _x < 10 max sizeOf typeOf _x && count crew _x > 0} count (player nearEntities ["Helicopter_Base_F", 20]) == 0)

if (!alive player || vehicle player != player) exitWith {};

if (PARACHUTE_PRECHECK) then
{
	call fn_forceOpenParachute;
{'fraction_non_alphanumeric': 0.3555724033358605, 'fraction_numerical': 0.017437452615617893, 'mean_word_length': 6.674418604651163, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '4609854', 'n_tokens_mistral': 370, 'n_tokens_neox': 331, 'n_words': 108}