|
how would I send the packet over to the client when I wear a certain item?
for example
would I use returncode or what?Code:if(c.wearId == itemid) { returnCode = 25; }
You'll want to look at the wieldItem packet then (it's client -> server).
Then check if the new item is one of the special ones.
If it is, send the special tab (there should be a couple of tabs sent when you login, so look over there if you don't know what method to use).
But if the old item is a special item and the new one isn't, make sure you revert to the old tab.
Upon login you should check if any special item is worn and send the special tab if so.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |