| Mirage Source http://miragesource.net/forums/ |
|
| GetPlayerLevel (not working?) http://miragesource.net/forums/viewtopic.php?f=201&t=4880 |
Page 1 of 1 |
| Author: | Blodyavenger [ Wed Dec 24, 2008 5:46 pm ] |
| Post subject: | GetPlayerLevel (not working?) |
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 |
|
| Author: | Matt [ Wed Dec 24, 2008 6:02 pm ] |
| Post subject: | Re: GetPlayerLevel (not working?) |
You need to send a packet to the server and have the server send the level in a packet. |
|
| Author: | Blodyavenger [ Wed Dec 24, 2008 7:33 pm ] |
| Post subject: | Re: GetPlayerLevel (not working?) |
I thought it's already working that like: chrHealth.Caption = "Health: " & GetPlayerMaxVital(MyIndex, Vitals.HP) |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|