Why aren't the labels getting the variables lvl, stre, dex and hp assigned to them? If anyone has a solution, please tell me.VB Code:
Public Sub Form_Load() If Label1.Visible = True Then lvl = 1 stre = 10 dex = 2 hp = 10 End If level.Caption = lvl strength.Caption = stre dexterity.Caption = dex health.Caption = hp End Sub




Reply With Quote