27-03-2007, 02:29 AM
Ya...kind of a necropost...but I was skimming through random things on the forum and noticed something. For this part...
Shouldn't there be another End If after Exit Sub? Otherwise wouldn't there be an error within "modHandleData"?
sorry :oops: was really bored and needed something to do. lol
Quote:' Player tnl packet
If LCase(Parse(0)) = "playertnl" Then
Player(MyIndex).MaxExp = Val(Parse$(1))
Player(MyIndex).Exp = Val(Parse$(2))
If GetPlayerMaxExp(MyIndex) > 0 Then
If GetPlayerExp(MyIndex) > 0 Then
frmMirage.lblEXP.Caption = GetPlayerExp(MyIndex) & "/" & GetPlayerMaxExp(MyIndex)
frmMirage.shpTNL.Width = (((GetPlayerExp(MyIndex) / 2000) / (GetPlayerMaxExp(MyIndex) / 2000)) * 2000)
End If
End If
Exit Sub
Shouldn't there be another End If after Exit Sub? Otherwise wouldn't there be an error within "modHandleData"?
sorry :oops: was really bored and needed something to do. lol
