Trikk Posted January 29, 2011 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.
AGENT_STEELMEAT Posted January 29, 2011 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.
Trikk Posted January 29, 2011 Author 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.
AGENT_STEELMEAT Posted January 29, 2011 Posted January 29, 2011 You want to bind the key after the function, and have it trigger an event that starts the countdown.
Trikk Posted January 29, 2011 Author Posted January 29, 2011 i got it working, this thread can be removed. Thanks all ^^
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