From 4dfbaf5b86b5b8a698a419a6a7d48248dada72f7 Mon Sep 17 00:00:00 2001 From: Bjanski Date: Wed, 27 Apr 2016 08:18:37 +0200 Subject: [PATCH] Docs update --- docs/HaloParachute/examples.md | 15 +++++++++++++-- .../HaloParachute/Functions/fn_pullParachute.sqf | 4 ++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/docs/HaloParachute/examples.md b/docs/HaloParachute/examples.md index 23a2cde..d86a167 100644 --- a/docs/HaloParachute/examples.md +++ b/docs/HaloParachute/examples.md @@ -2,7 +2,7 @@ Below I provide with some examples of how to use HaloParachute -##Chang settings +##Change settings Customize settings to allow different scenarios. * Allow vehicle ejection @@ -13,4 +13,15 @@ Customize settings to allow different scenarios. ```sqf ExAd_HALOPARACHUTE_SAFE_MODE = true; ``` - \ No newline at end of file +* Enable parachute Detach - makes it possible to detach the parachute +```sqf + ExAd_HALOPARACHUTE_DETACH_PARACHUTE_MODE = true; +``` +##Change defined notification texts +Customizing stringtable.xml allows you to easily change defined texts or add language support. +* Change detach message in stringtable.xml. +```sqf + + You can eject from parachute with: Alt Shift x + +``` \ No newline at end of file diff --git a/mpmissions/Exile.Altis/ExAdClient/HaloParachute/Functions/fn_pullParachute.sqf b/mpmissions/Exile.Altis/ExAdClient/HaloParachute/Functions/fn_pullParachute.sqf index dc87e5a..45bc451 100644 --- a/mpmissions/Exile.Altis/ExAdClient/HaloParachute/Functions/fn_pullParachute.sqf +++ b/mpmissions/Exile.Altis/ExAdClient/HaloParachute/Functions/fn_pullParachute.sqf @@ -37,4 +37,8 @@ if(ExAd_HALOPARACHUTE_SAFE_MODE)then{ [ExAd_PARACHUTE_SAFE_THREAD] call ExileClient_system_thread_removeTask; }; +if(ExAd_HALOPARACHUTE_DETACH_PARACHUTE_MODE)then{ + hint localize "STR_ExAd_HALOPARACHUTE_INFO_DETACH" +}; + true \ No newline at end of file