hello peers,
im working on a game, a pong-ish game
there's is supposed to be a pause button
but i dont know what to write.
this is the first time i use vb.
is there such a thing as a suspend method or somthing.
im using vb6
thanx for the input :)

That depends entirely on how your game works.... are you using a timer control for your loop? Are you just doing a big ass while loop and putting your code in that? The code for the pause button will differ based on your method of implementation.

I have time1.enabled = false & time1.enabled = true but i want it on the same button command hjow do i do it ?

frozie, frozie, frozie.... I know you only have four posts, but if you have been reading these forums, I'm sure by now, you know not to necropost like this!!! Shame, shame, shame on you...

Now, there are a couple of ways you can do this under one button...

If Timer1.Enable = True Then
  Timer1.Enabled = False
Else
  Timer1.Enabled = True
End If

or

Timer1.Enabled = Not Timer1.Enabled

Good Luck

This question has already been answered. Start a new discussion instead.