{"name":"isStaminaEnabled","operator":null,"title":"isStaminaEnabled","type":"command","url":"https://community.bistudio.com/wiki/isStaminaEnabled","revid":321931,"updated":"2022-05-22T12:50:06Z","groups":["Stamina System"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.54"}],"since":{"game":"arma3","name":"Arma 3","version":"1.54"},"arma3_since":"1.54","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Check if stamina depletion is enabled.","syntaxes":[{"syntax":"isStaminaEnabled unit","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"unit: Object"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"},"form":"unary","operator":null,"left":null,"right":{"text":"unit","types":["Object"]}}],"examples":[{"text":"```sqf\nif (isStaminaEnabled player) then { hint \"You can get exhausted.\" };\n```","code":["if (isStaminaEnabled player) then { hint \"You can get exhausted.\" };"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Stamina"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Stamina System","Introduced with Arma 3 version 1.54","Scripting Commands"]}