View Single Post
Old 05-11-2008, 05:01 PM   #29 (permalink)
God
α+ω
Retired Staff
Professional Spammer
 
Join Date: Jan 2007
Location: Look up
Posts: 7,805
God has much to be proud ofGod has much to be proud ofGod has much to be proud ofGod has much to be proud ofGod has much to be proud ofGod has much to be proud ofGod has much to be proud of
Send a message via AIM to God Send a message via MSN to God Send a message via Yahoo to God Send a message via Skype™ to God
Awards Showcase
Biggest Abuser of Noobs Trogdor's Peasant Favorite zB Extremity 
Total Awards: 3
Default

Quote:
Originally Posted by lpxxfaintxx View Post
Code:
  
            if (gps.Buttons.Back == ButtonState.Pressed)
                this.Exit();
yeah, that says if the button is pressed exit, it doesn't say if button is held for X seconds exit but if for less than that, backspace

I'll probably just have it if button is pressed, start timer while(button is pressed) do nothing, on un pressing end timer, if timer.time>X do this, otherwise do this.

I knew I'd have to do it there, I'm not an idiot, just have to look up the easiest way to do a timer and stuff.
__________________
Quote:
Originally Posted by sb
10:15 PM <Marshillboy> I almost never eat out

Nurta.net cures 29 known diseases



God is offline   Reply With Quote