Theme editor

QBCORE NoPixel 4.0 Inventory | FREE

i dont know last time without doing anything i lost my 345 credit , Anyone know my issue
 
this is one of the worth things i paid here!! this is not a scam its real and very good build
 
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
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.
 
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.


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; });
 
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.
 
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.
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
 
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
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.

 
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>
you mean the find slot available? I updating my items realtime with database using fetch in react so it wont had duplications.
 
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
 
Back
Top Bottom