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

[VB6] Commands


vitinho444
 Share

Recommended Posts

Hello, I wanna make a thing in my game:

1- so in game client, where appears player HP,MP and XP.. I wanna insert a label with his name and level…

How can I make that? (I mean, what is the command for Playername and Player Level?)

2- Accept Button - I wanna make a trade accept button, to people automaticaly accept without writing /accept blablabla.. (i wanna make 2 buttons or 2 labels, 1- Trade* and Accept)

*Trade: i wanna make a button or label that trades to player's target (mouse click)

It possible?
Link to comment
Share on other sites

  • 1 year later...
As for the Level and Name, make sure the index is set appropriately.  9 times out of 10 you won't need to change this though:
```
lblLevel.Caption = GetPlayerLevel(Index)
lblName.Caption = GetPlayerName(Index)

```
And it's easily possible to add the button.  Find the code for "/accept" and use it for your button/label.  Simple simple simple :)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...