Turbo for a car game

Blitz3D Forums/Blitz3D Beginners Area/Turbo for a car game

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Sorry....
Well i made a turbo for my 3d car race.
Car race = just a cube race only for now...

The turbo is this function:

; if space hit and have a turbo left
If KeyHit( 57 ) And turbo > 0
turbo = turbo - 1
turboAcionado = 1
EndIf

then if turboAcionado = 1 in the car movement it get's aceleration + 0.001 (double the value)

But i can't do a timecounter to set just 3 seconds for turbo, and then disable the turbo...
Help me please!

Thanks!
MB

PS: If my question is a crap please tell me and i'll try to say in other way!