Hi, can someone help me, i need to do a turbo function to a car game, but really don't know how...
Thanks!
MB
Thanks!
MB
And turboAcionado=0to make sre it doesn't keep resetting the timer if you hold Spacebar down.
; if space hit and have a turbo left If KeyHit( 57 ) And turboAcionado=0 and turbo > 0 turbo_timer=millisecs() turbo = turbo - 1 turboAcionado = 1 EndIf
If (millisecs()-turbo_timer)>=3000 then turboAcionado=0