hey,
so i have a timer that i was trying to use to separate gunshots but it doesn't work.
i cant see anything wrong with this. am i just missing something obvious?Code:if (shoot1== true){
<my code to shoot>
shoot1 = false;
setInterval(shoot1again, 800);
function shoot1again(){
shoot1 = true;
};