Messages
101
Reactions
1
Credits
38
Joined
Apr 2023
Messages
211
Reactions
1
Credits
2,253
Joined
May 2022
Messages
16
Reactions
1
Credits
626
Joined
Mar 2024
Messages
88
Reactions
1
Credits
450
Joined
Aug 2022
Messages
25
Reactions
0
Credits
9
Joined
Apr 2024
Messages
122
Reactions
0
Credits
2,322
Joined
Sep 2023
crownvkr,
wrote:
[attachment removed] i have nopixel inventory icon too
Can u publish please ?[/attachment]
Messages
34
Reactions
0
Credits
249
Joined
Jan 2024
this is one of the worth things i paid here!! this is not a scam its real and very good build
Messages
34
Reactions
0
Credits
249
Joined
Jan 2024
Messages
96
Reactions
1
Credits
1,134
Joined
Jan 2024
ozziad,
wrote:
its just color changing cost that much i think https://github.com/ItzMuri/ps-inventory
yea fr, its literally the same thing
Messages
24
Reactions
0
Credits
362
Joined
Mar 2021
Messages
24
Reactions
0
Credits
362
Joined
Mar 2021
Has anyone got it working with the health system? Like with the HP bars for Head, Left Leg, etc?
Freedom
Admin
Messages
118
Reactions
2
Credits
27,506
Joined
Apr 2022
joeymark,
wrote:
Has anyone got it working with the health system? Like with the HP bars for Head, Left Leg, etc?
Yeah have its not that hard if you know a bit of coding
Messages
24
Reactions
0
Credits
362
Joined
Mar 2021
Freedom,
wrote:
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.
Freedom
Admin
Messages
118
Reactions
2
Credits
27,506
Joined
Apr 2022
joeymark,
wrote:
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 lookin...
No have my own system for damage.
so far i can see in the s4 you need to create a export from the javascript.
i only look up the code did not test this.
what i can see so far are this the part names of s4.
head
chest
lArm
rArm
lKnee
rKnee
So maybe this will help you out
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;
});
[/v][/v][/v][/v][/v][/v]
Messages
86
Reactions
0
Credits
5,150
Joined
Jun 2023
Freedom
Admin
Messages
118
Reactions
2
Credits
27,506
Joined
Apr 2022
xTomatomanx,
wrote:
i laso have that too XD
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.
only the drag and drop is killing me.
Messages
86
Reactions
0
Credits
5,150
Joined
Jun 2023
Freedom,
wrote:
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 t...
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
Freedom
Admin
Messages
118
Reactions
2
Credits
27,506
Joined
Apr 2022
xTomatomanx,
wrote:
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 lik...
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.
https://ibb.co/6sJ48dQ
Messages
86
Reactions
0
Credits
5,150
Joined
Jun 2023
Freedom,
wrote:
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 ...
you mean the find slot available? I updating my items realtime with database using fetch in react so it wont had duplications.
Freedom
Admin
Messages
118
Reactions
2
Credits
27,506
Joined
Apr 2022
xTomatomanx,
wrote:
you mean the find slot available? I updating my items realtime with database using fetch in react so it wont had duplications.
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 xD
Messages
188
Reactions
0
Credits
571
Joined
Nov 2022