Skip to content

Commit

Permalink
stringtable
Browse files Browse the repository at this point in the history
  • Loading branch information
MiszczuZPolski committed Dec 2, 2024
1 parent 3d432b8 commit d57cf59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/chemical/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ 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));
showDisabled = 0;
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));
Expand Down
6 changes: 6 additions & 0 deletions addons/chemical/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -780,5 +780,11 @@
<Key ID="STR_KAT_Chemical_OnlyObject">
<English>Must be placed on object</English>
</Key>
<Key ID="STR_KAT_Chemical_PutOnGasMask">
<English>Put on gas mask</English>
</Key>
<Key ID="STR_KAT_Chemical_TakeOffGasMask">
<English>Take off gas mask</English>
</Key>
</Package>
</Project>

0 comments on commit d57cf59

Please sign in to comment.