with this snippet you can limit your (sub)machine guns round rate per minute(how many bullets you can shoot in one minute)(it doesn't matter how what's your framerate)
here's code:
--- code ---
RPM = 700
RPS = (1000 / RPM) * 60
if mouseclick() = 1 and Timer() - Reload > RPS
Reload = Timer()
play sound 1
endif
--- code ---
and.. for those who want to try something out.. http://koti.phnet.fi/jek531mm/MG34.zip (10.8kb)
it has .dba, .3ds and .wav file
and.. I suggest you to NOT copy any media files, I made them myself...
DBGuy
: AMD Athlon 1.4GHz : 256MB : GeForce 2 Pro :
That toyfrog in my avatar is model, not real