I’m making a SWEP which spawns an object when the reload button is pressed. Problem is, when I press the reload button more than one object always spawns (due to the fact that I can’t take my finger off the button in time).
Is there a command like :
self.Weapon:SetNextPrimaryFire( CurTime() + 5 )
But for reloading? So it only reads the reload key once every x seconds?
Sorry if I overlooked something simple. I tried timers, either I did them wrong or Lua just hates me.