{"name":"isSprintAllowed","operator":null,"title":"isSprintAllowed","type":"command","url":"https://community.bistudio.com/wiki/isSprintAllowed","revid":341802,"updated":"2023-06-24T08:22:53Z","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":"local","effect":null,"server_exec":false},"exec":null,"description":"Returns true if player is allowed to sprint","syntaxes":[{"syntax":"isSprintAllowed 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 (not isSprintAllowed player) then { hint \"no running in the corridors!\" };\n```","code":["if (not isSprintAllowed player) then { hint \"no running in the corridors!\" };"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Stamina","allowSprint"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Stamina System","Introduced with Arma 3 version 1.54","Scripting Commands"]}