Can u publish please ?View attachment 14780 i have nopixel inventory icon too
yea fr, its literally the same thingits just color changing cost that much i think https://github.com/ItzMuri/ps-inventory
What is Lr_skeleton?question... where do i get Ir_skeleton?
Yeah have its not that hard if you know a bit of codingHas anyone got it working with the health system? Like with the HP bars for Head, Left Leg, etc?
But are you using the s4 health system? Cuz I took a look at the files and found the skelly line. Could you guide me at least on where to start looking? I'm looking forward on trying to implement it myself but I need some help on where to start looking.Yeah have its not that hard if you know a bit of coding
But are you using the s4 health system? Cuz I took a look at the files and found the skelly line. Could you guide me at least on where to start looking? I'm looking forward on trying to implement it myself but I need some help on where to start looking.
exports('getHealthForBodyParts', () => {
let bodyPartsHealth = {
head: 100,
chest: 100,
lArm: 100,
rArm: 100,
lKnee: 100,
rKnee: 100
};
$.each(cacheData.data.injuresD, function (i, v) {
if(configg.BoneLabelText[v.bid].name == 'Head') {
bodyPartsHealth.head = bodyPartsHealth.head - (v.count * 10);
if (bodyPartsHealth.head < 0) {
bodyPartsHealth.head = 0;
}
} else if(configg.BoneLabelText[v.bid].name == 'Chest') {
bodyPartsHealth.chest = bodyPartsHealth.chest - (v.count * 10);
if (bodyPartsHealth.chest < 0) {
bodyPartsHealth.chest = 0;
}
} else if(configg.BoneLabelText[v.bid].name == 'LArm') {
bodyPartsHealth.lArm = bodyPartsHealth.lArm - (v.count * 10);
if (bodyPartsHealth.lArm < 0) {
bodyPartsHealth.lArm = 0;
}
} else if(configg.BoneLabelText[v.bid].name == 'RArm') {
bodyPartsHealth.rArm = bodyPartsHealth.rArm - (v.count * 10);
if (bodyPartsHealth.rArm < 0) {
bodyPartsHealth.rArm = 0;
}
} else if(configg.BoneLabelText[v.bid].name == 'LKnee') {
bodyPartsHealth.lKnee = bodyPartsHealth.lKnee - (v.count * 10);
if (bodyPartsHealth.lKnee < 0) {
bodyPartsHealth.lKnee = 0;
}
} else if(configg.BoneLabelText[v.bid].name == 'RKnee') {
bodyPartsHealth.rKnee = bodyPartsHealth.rKnee - (v.count * 10);
if (bodyPartsHealth.rKnee < 0) {
bodyPartsHealth.rKnee = 0;
}
}
});
return bodyPartsHealth;
});
nice.. still strugeling with the clothing part that when you use a clothing pease it go the the right slot and that the slot only accepts a shirt on the shirt slot and no other items.i laso have that too XD
Im still working on that, I just finished the player and backpack. I use react for it, maybe do something that depends for what item needed for it like if item dragg is glasses == glassesnice.. still strugeling with the clothing part that when you use a clothing pease it go the the right slot and that the slot only accepts a shirt on the shirt slot and no other items.
only the drag and drop is killing me.
OKe nice you i have on thes moment 1 slot the need to put a Bag item in it then the can use the slots of a backpack only stugling with the part of a filter that says your not a bag so go back to the old slot you can from.Im still working on that, I just finished the player and backpack. I use react for it, maybe do something that depends for what item needed for it like if item dragg is glasses == glasses
you mean the find slot available? I updating my items realtime with database using fetch in react so it wont had duplications.OKe nice you i have on thes moment 1 slot the need to put a Bag item in it then the can use the slots of a backpack only stugling with the part of a filter that says your not a bag so go back to the old slot you can from.
tryed
revert stop start for it (jquery) and the moment it works i can duplicate items with it so its a headkiller for now.
Code:<a href="https://ibb.co/6sJ48dQ"><img src="https://i.ibb.co/6sJ48dQ/inv.png" alt="inv" border="0"></a>
Oke thats a good one. i really need to look in to react you can do so mutch more with it only then i need to convert it and that will be a pain xDyou mean the find slot available? I updating my items realtime with database using fetch in react so it wont had duplications.