[Release] OutOfBreath

Hey ! change this :

	Citizen.Wait(300) -- check every 100 ticks, performance matters

it was set to 100 originally … I changed it to 300 and now its not too bad ! i might try it higher too… Right now for me it basically trigger when the first sprint is done… and then if u keep on running ‘‘slow’’ it triggers after u sprint once more.

hey how i can change when you have the animation activated the player can´t shot

Pretty simple TBF - use this native to check for the anim playing inside the same loop that triggers the anim and then just disable the relevant controls. I wonder why the OP didn’t add that, it seems kinda pointless to have that task play in the first place without blocking any controls to make it more… realistic?

So nice!

i did everything right took OutOfBreath-main folder out of .rar and put it in resources then deleted off
-main then put it in my server.lua like this ensure OutOfBreath and then start game no errors but i can run forever and nothing can someone please help thanks

why on server.lua? run that on client.lua

you free to edit this

i want to put this in to my server so everyone has this effect is there a way to do this?

ok i put this in my resources folder and then i went to server.lua and added ensure OutOfBreath and started up server but still does not work can someone help me please?

Hi, first of all, thank you for the source you created
And there is a bug in Sourston that if you can update or help me enter that piece of code
The problem with this source is when I get bored after running that anime. I can cancel that anime by pressing the hand up button when I press it.
If you can do something to make the anime boring, I will disable the desired button, which is 243 from me, during the anime.

really wished this worked

nice script…btw need little edit to make this script work…
just put another “end” at line 20 client

it will be like:
Citizen.Wait(sleep)
end
end)

i didnt notice that, thanks!

can you share a code snippet on how to implement this?