Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetPlayerLevel (not working?)
#1
I'm trying to do character label where stats are displayed and I can make stats like strength and HP displayed but GetPlayerLevel(MyIndex) is simply not working. It returns value 0... I don't have a single idea what to do. I've searched around the forums if anyone has the same problems but nothing....Thanks for answers!

Current code:
Code:
Private Sub picStats_Click()
    'Call SendData(CGetStats & END_CHAR)
    picCharacter.Visible = True
    chrLevel.Caption = "Level: " & GetPlayerLevel(MyIndex)
    chrHealth.Caption = "Health: " & GetPlayerMaxVital(MyIndex, Vitals.HP)
End Sub

Output = Level: 0
Reply
#2
You need to send a packet to the server and have the server send the level in a packet.
Reply
#3
I thought it's already working that like:

chrHealth.Caption = "Health: " & GetPlayerMaxVital(MyIndex, Vitals.HP)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)