search for the emote and gfx and paste them there.
|
Well, my prob is that i can't fit the
c.dungtime = 16;
c.dungemote(c);
Into
public int skillcapeGfx(int cape) {
int capeGfx[][] = {
{9747, 823}, {9748, 823},
{9750, 828}, {9751, 828},
{9753, 824}, {9754, 824},
{9756, 832}, {9757, 832},
{9759, 829}, {9760, 829},
{9762, 813}, {9763, 813},
{9765, 817}, {9766, 817},
{9768, 833}, {9769, 833},
{9771, 830}, {9772, 830},
{9774, 835}, {9775, 835},
{9777, 826}, {9778, 826},
{9780, 818}, {9781, 818},
{9783, 812}, {9784, 812},
{9786, 827}, {9787, 827},
{9789, 820}, {9790, 820},
{9792, 814}, {9793, 814},
{9795, 815}, {9796, 815},
{9798, 819}, {9799, 819},
{9801, 821}, {9802, 821},
{9804, 831}, {9805, 831},
{9807, 822}, {9808, 822},
{9810, 825}, {9811, 825},
{9948, 907}, {9949, 907},
{9813, 816}
};
for(int i = 0; i < capeGfx.length; i++) {
if(capeGfx[i][0] == cape) {
return capeGfx[i][1];
}
}
return -1;
}
public int skillcapeEmote(int cape) {
int capeEmote[][] = {
{9747, 4959}, {9748, 4959},
{9750, 4981}, {9751, 4981},
{9753, 4961}, {9754, 4961},
{9756, 4973}, {9757, 4973},
{9759, 4979}, {9760, 4979},
{9762, 4939}, {9763, 4939},
{9765, 4947}, {9766, 4947},
{9768, 4971}, {9769, 4971},
{9771, 4977}, {9772, 4977},
{9774, 4969}, {9775, 4969},
{9777, 4965}, {9778, 4965},
{9780, 4949}, {9781, 4949},
{9783, 4937}, {9784, 4937},
{9786, 4967}, {9787, 4967},
{9789, 4953}, {9790, 4953},
{9792, 4941}, {9793, 4941},
{9795, 4943}, {9796, 4943},
{9798, 4951}, {9799, 4951},
{9801, 4955}, {9802, 4955},
{9804, 4975}, {9805, 4975},
{9807, 4957}, {9808, 4957},
{9810, 4963}, {9811, 4963},
{9948, 5158}, {9949, 5158},
{9813, 4945},
Is there another way pleeease?
search for the emote and gfx and paste them there.
if(c.getPA().wearingCape(15070)) {
Wrong way? please post the right way for it!
So you'd handle this @ the clicking buttons of the cape emote if you don't want to make any major edits to what you already have.
Could be done cleaner but meh.Code:Case SkillcapebuttonID: if (capeslot == dungcapeid) { c.dungtime = 16; c.dungemote(c); } else { dowhatwastherebefore. } break;
Cannot find cape slot symbol. can you send the void for it?
Was an example, i'll send you real code in a second.
Code:case 154: if (c.playerEquipment[c.playerCape] == 18508 || c.playerEquipment[c.playerCape] == 18509) { c.dungtime = 16; c.dungemote(c); } else { //put wat was under case 154 before here }
Thanks man!
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |