Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Code/functions/Common/fn_initLocalPlayer.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ call compile preprocessFile "Scripts\AT\dronehack_init.sqf";

setTerrainGrid A3E_Param_Grass;

//disable player stamina based on setting
if (A3E_Param_Stamina == 0) then {
player enableStamina false;
};

if (A3E_Param_Magrepack == 1) then {
[] execVM "Scripts\outlw_magRepack\MagRepack_init_sv.sqf";
};
Expand Down
7 changes: 7 additions & 0 deletions Code/include/params.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,13 @@ class Params
livechanges = 1;
default = 0;
};
class A3E_Param_Stamina
{
title="Player Stamina";
values[]={0,1};
texts[]={"Off", "On"};
default = 1;
};
class A3E_Param_Spacer4
{
title = "==================== Statistic Settings ====================";
Expand Down