Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Tridia Online

Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Tridia Online's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I searched and did not see any status on it so I decided to create one, let go to it. Work only in the Client 1 Go and create a PictureBox frmMain and set the amount of Visible = false and named : picAlert. 2 ° Within of the PictureBox and create two CommandButton named: one cmdLogout and the other cmdCancel. 3: Double click on the button cmdCancel and put this: Private Sub cmdCancel_Click() If Not picCharacter.Visible Then picCharacter.Visible = True picAlert.Visible = False End If End Sub In a 4 ° Double click cmdCancel and put this: If Map.Moral = 1 Then logoutGame Else AddText "You cannot logout into the battle zone!", BrightRed picCharacter.Visible = True picAlert.Visible = False End If Go 5 ° in frmMain code and find: Cancel = True logoutGame put this in place: Cancel = True picAlert.Visible = True This makes the player click the [x] to close the window you see a warning window for logging or cancel (Note: The player can only log in safe zone.) I hope this helps. Sorry my bad English
×
×
  • Create New...