Trikk Posted January 29, 2011 Share Posted January 29, 2011 Basicly what im trying to do is make a drift counter, when your done drifting, the drift count is added to your money. What functions would I use, and how would I use them? Also a Count down system. I think i know how to script that though. function countdown () if bindKey == ("o") then setTimer(countdown(count - 1), 1000, 1) then outputChatBox("Go!") end It looks wrong to me. Lol. Link to comment
AGENT_STEELMEAT Posted January 29, 2011 Share Posted January 29, 2011 For your countdown timer, do you want to activate the countdown when a player presses 'o'? That code dosen't look right to me. Link to comment
Trikk Posted January 29, 2011 Author Share Posted January 29, 2011 For your countdown timer, do you want to activate the countdown when a player presses 'o'? That code dosen't look right to me. Yeah, thats what Im going for...I totaly did it wrong. Link to comment
AGENT_STEELMEAT Posted January 29, 2011 Share Posted January 29, 2011 You want to bind the key after the function, and have it trigger an event that starts the countdown. Link to comment
Trikk Posted January 29, 2011 Author Share Posted January 29, 2011 i got it working, this thread can be removed. Thanks all ^^ Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now