We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 470a359 commit 1fc605dCopy full SHA for 1fc605d
source/INIT.sqf
@@ -24,11 +24,10 @@ if (!isMultiplayer) then {
24
if (isMultiplayer) then {
25
26
// Get the variables from the parameters lobby
27
- _revive_activated = paramsArray select 0; // Revives, true or false
28
- DUWSMP_CP_death_cost = paramsArray select 1;
29
-
30
- // Setup stamina system
+ _revive_activated = ["Revive", 1] call BIS_fnc_getParamValue;
+ DUWSMP_CP_death_cost = ["DeathPenalty", 1] call BIS_fnc_getParamValue;
31
staminaEnabled = ["Stamina", 0] call BIS_fnc_getParamValue;
+
32
if(staminaEnabled == 0) then {
33
staminaEnabled = false;
34
} else {
0 commit comments