Chupy Posted June 26, 2017 Share Posted June 26, 2017 Hello, Somebody knows how, can i do a script to block shots? Example if i click fast with my sniper , the sniper burst, shot fast, how i can do to put delay? between shots Link to comment
#BrosS Posted June 26, 2017 Share Posted June 26, 2017 (edited) xD = false addEventHandler ("onPlayerWeaponFire", root, function (weapon) if weapon == 34then if xD == true then cancelEvent() end xD = true setTimer(function() xD = false end,2000,1) end end ) I'm not sure but i think that will do cuz i'm on mobile rn You can fire only every 2 seconds Edited June 26, 2017 by #BrosS Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now