Posted: Wed Dec 26, 2007 11:30 am Post subject: [VB6] Something Seems Wrong With My Script
Well I'm tryin to make an on + off button but i can only click it 2 times and then nothing happens. My script:
Code:
Private Sub Command1_Click()
If Command1.Caption = "Infinite Cash" Then
Command1.Caption = "Infinite Cash: On"
Timer1.Enabled = True
Else
Command1.Caption = "Infinite Cash: Off"
Timer1.Enabled = False
End If
End Sub
Private Sub Command1_Click()
If Command1.Caption = "Infinite Cash : Off" Then
Command1.Caption = "Infinite Cash: On"
Timer1.Enabled = True
Else
Command1.Caption = "Infinite Cash: Off"
Timer1.Enabled = False
End If
End Sub
It Just Stops At Off >.<
Edit: Nvm. I got it working. Thanks _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum