local controls = {
"sprint",
"jump",
}
--FUNCTIONS
function controlState()
for o, v in ipairs(controls) do
if getPedControlState(localPlayer, v) then
setTimer(function()
setElementData(localPlayer, "player:fatigue", getElementData(localPlayer, "player:fatigue")-1)
end, 1000, 0)
end
end
end