You can't, you have to add it server sided.
|
How would i make a button in my quest tab give items to my character? I know how to make the actionbutton through the server, but i want to make it client-sided.
For example, i click on the quest "Dragon Slayer" and it will add a whip to my inventory. client-sided.
I don't believe this is done client-sided. Why do you want it client-sided anyway?
-Josh
it can be done client sided but to do it server sided is much easier, head over to clicking buttons or action buttons whatever you use and add something similar to:
Code:case '\uf2cb': c.getItems().addItem(995, 2500000); c.sendMessage("you spawn an item"); break;
or
[/CODE]Code:case 62155: c.getItems().addItem(995, 2500000); c.sendMessage("you spawn an item"); break;
Just a quick question.
Why do you want to make it client sided anyways?
Make it server sided
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |