====== Disable Stamina ====== Stamina can be disabled on any unit using the [[biki>enableStamina]] command. However, disabling stamina on players is slightly different. ===== Script ===== // Disable stamina for player at mission start player enableStamina false; // Disable stamina for player at respawn player enableStamina false; ===== Explanation ===== While [[biki>enableStamina]] can be used on a player's unit, it will not persist after respawn. In addition, it is laborious to repeat the command for every possible unit controllable by players. Script below resolves this. ''initPlayerLocal.sqf'' and ''onPlayerRespawn.sqf'' are files that contains commands exclusive for each player. On every player's computer, these commands will run at mission start then each time they respawn.