From d57cf59d0027eda7d3a423553dff37829d4b510b Mon Sep 17 00:00:00 2001
From: MiszczuZPolski <71414303+MiszczuZPolski@users.noreply.github.com>
Date: Mon, 2 Dec 2024 19:19:54 +0100
Subject: [PATCH] stringtable
---
addons/chemical/CfgVehicles.hpp | 4 ++--
addons/chemical/stringtable.xml | 6 ++++++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/addons/chemical/CfgVehicles.hpp b/addons/chemical/CfgVehicles.hpp
index 591b873d2..f75b2e9cb 100644
--- a/addons/chemical/CfgVehicles.hpp
+++ b/addons/chemical/CfgVehicles.hpp
@@ -20,7 +20,7 @@ class CfgVehicles {
icon = QPATHTOF(ui\gasmaskfilter_ca.paa);
};
class KAT_PutOnGasMask {
- displayName = "Put on Gas Mask";
+ displayName = CSTRING(PutOnGasMask);
condition = QUOTE([_player] call FUNC(canPutOnGasMask));
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
statement = QUOTE([_player] call FUNC(putOnGasMask));
@@ -28,7 +28,7 @@ class CfgVehicles {
icon = QPATHTOF(ui\Gasmask_icon.paa);
};
class KAT_TakeOffGasMask {
- displayName = "Take off Gas Mask";
+ displayName = CSTRING(TakeOffGasMask);
condition = QUOTE([_player] call FUNC(canTakeOffGasMask));
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting"};
statement = QUOTE([_player] call FUNC(takeOffGasMask));
diff --git a/addons/chemical/stringtable.xml b/addons/chemical/stringtable.xml
index 577d47856..d6fb8a46f 100644
--- a/addons/chemical/stringtable.xml
+++ b/addons/chemical/stringtable.xml
@@ -780,5 +780,11 @@
Must be placed on object
+
+ Put on gas mask
+
+
+ Take off gas mask
+