View Full Version : Weapon Spawner Limit

08-02-2010, 11:04 AM
I have this little weapon dispenser, which is fine, but i want a limit so people cant spam it and crash my server. is there any way to limit how many times someone can use the button before it breaks?

08-02-2010, 11:19 AM
Every time the dispenser is used, have it send an output to math_counter, adding one. Set the math_counter's "max" keyfield to the max number of times you want the dispenser used, and then put output on the math_counter: OnHitMax -> dispenser -> disable (or something, you'll have to tweak it depending on how your dispenser is setup).