#PS-Inventory Redesign [NP 4.0 Inspired]
652 messages · Page 1 of 1 (latest)
This ui design is slightly growing on me the more I see it ngl lmao well done tho looks good
Looks amazing
thats a really nice design great work, keep up!
Thank you!
I felt the same way LMFAO, I'm sure others also feel the same way but I think its due to the designs getting more unique / different lookin. For years we had the same style of inventories like qb / ox, Even the old ESX inventories 😂
it does have the esx style indeed
For sure xD, I know it wouldn't be that hard to change it but I'm still pretty new to UI Development so i'm gonna take that excuse while I can
For sure everyone will want it for free hah also very good work mate perfect 
its pretty good tbh, the esx style can be changed with some modern stuff and more (idk whats more)
tnx brother
Its no problem! I know its probably not the most cleanest code out there but this should get the community rolling!
Its no problem! One piece is so good 😄
it is fr fr
does the skull thingy work and i want to ask where are the settings and stuff?
Currently the skeleton does not work, Its just an image but it can work with a bit more development! This was purely just the UI to get the community rolling. I removed the settings button but it can be easily added back in through the html / css
anyreason why when i open it then close my screen is blurry 😢
Lemme take a look, Usually when I was testing the blur would go away when the inventory closed. I can remove the blurring though
go into the app.js and find showblur: ref(true),
just replace the show blur to false and see if that helps
okie
unfortunatly that not work cursor stuck on screen gonna reset server and try again
Alright, Let me know if anything changes i'm currently booting up my local host to see what I can do
ok great thanks
oh okay well done on the edit it's really nice btw
I gotchu on a quick fix, I removed the blur from the client-side so it won't enable any of the blur effects
ok perfect
let me know if that helps! just revert anything you did in the js or html and it should be good to go
This Looks 10/10
lol
I'll take a look, There is some cursor stuff in the css that I can try and change
no rush mate
nope unfortunatly is it working for u on ur end
just to see if its just a me issue
Yeah I haven't had any issues, Even with the blur I didn't have any issues but since I'm still new to UI I thought maybe I made a mistake somewhere
no worries ill keep my eyes peeled im no good with anything like this otherwise id have a crack
thanks verry much anyway for the support and keep up the good designs
Thank you, Hopefully you can figure it out and see what is causing the issue!
yeah hopefully
only thing thats popping up in my server console is SCRIPT ERROR: error object is not a string
thats when closing the inv wich leaves the cursor stuck
love it
Thank you!
🔥
I'd have to try and see if I can replicate that error, I currently don't get any errors when the inventory opens or closes. I have seen that error though but I don't remember what I did to fix it
you have to make sure the file name is qb-inventory
ahh ill give that a try
that worked great thanks verry much
🥳 Glad he was able to figure it out
np
at least we got to bottom of it
Yeah I am lookin into the error rn cause I was honestly confused too
I tend to overlook the small stuff like that when I try and help xD
no idea happy i got it working tho many thanks again
ooo thats another inventory that would be nice to have this on
if you change the file name you have to change everything that says qb-inventory in the app.js to the new file name
Ah that makes sense
This is by far the best color combination I have seen on this "NP inspired releases", good job
Thank you so much it means a lot to hear you say that! 🙏
inventory looking amazing, one thing i would love to see on a future push if possible is numbers on each of the slot in the hotbar. Amazing work
I'm having same issue with the blur and cursor 😢
app.js "qualitycolor"
greatttttttt work! just playing around with it in my server currently ❤️ looks amazing. how does the injury stuff work in the inventory? is that integrated with something specific?
are you still having this issue?
I fixed the blur with the above, removing from client side, but still got cursor issue
change the file name to qb-inventory
^^^
Would I need to rename all instances of ps-inventory back to qb-inventory?
i would do a fresh install and keep the folder name qb-inventory
That works! Thank you! Just one last thing, do I need to rename everything back to qb-inventory or leave as ps-inventory
how does the health system tie into it?
Do not tag people.
Read what it says.
Its just the stock readme for ps-inventory, didnt know if renaming folders meant you need to change it back to qb-inventory
It does not say to do so, so why you even ask
Because I was just curious 😂
is this PS or QB Inventory cause there 2 diff file names inside
i did notice the inventory doesnt show the weight numbers for either your pockets or the ground
This is ps inventory renamed to qb-inventory, Sorry for the confusion I'll be updating the github soon
Yeah I removed the weight numbers in favor of the progress bar but it can easily be added back
where did you do that at?
I did that in the html / js
screen stays blurry when closed & gets stuck
nvm
Suggestion: probs change name of this to QB-Inventory redesign if its using qb exports
also does the health body work?
also cant reload guns
Any idea how to fix this
so im confused, which bar is quick access, are both bars quick access?
do u have the image?
Doesn’t look like the health works. Idk if that’s still a WIP or didn’t install properly
health system is still WIP
are you able to reload your weapon?
yeah
use #💬︱support not this thread
ty
Would Be Great To See A Way U Could See Cash ID Name ETC Great Release Tho
how is your id card info locks like ?
I see this is actually qb inventory and not ps inventory ?? so the file name should be qb-inventory for all the java to work correctly
you can change to ps
yes but the java is all qb-inventory for example:
$.post("https://qb-inventory/CloseInventory", JSON.stringify({}));
so was original qb inventory ?
@bleak rock
i am using ps but i rename to qb too much exports to change
Lmaooo cant rename files buddy
hey bud i managed to change most colour but how do i do the rest lol https://gyazo.com/5b3bf7004ff28453ebdf1eb962317b70
Look in the css and js
It shouldnt be that hard tbf
tbf i didnt look in the css cheers lad
Nope, Everyone who's saying this was qb-inventory is wrong. This is 100% ps-inventory just renamed to qb-inventory for the sake of drag / drop in qbcore.
What does it look like when you rob a player does it show the character health skeleton?
1 thing that would be cool is when items are dropped it allows you make custom props when you drop that item
Understand
anyone having a problem when trying to reload a weapon or is it just me?
ok so question i have changed the colors on everything else but i cant find this in the main.css do you remember where its at by chance
its inside the js
ahhhh ty and no as far as the reloading i havent had any issues with it
have you tried it?
do you have it named qb-inventory or ps?
qb
if you change it to ps you gotta go in and change every event from qb-inventory to ps-inventory
it sucks cause im getting no errors so i can't even look into the item
figured it out my clown ass had pistol_clip and not pistol_ammo
ahhh lol it happens
any chance i can make it litle bit more responsive ? after i press tab it's take me few time to open it
Can you change so when it says used it comes up on the side of your screen instead of center?
edite .itembox-container in css
https://gyazo.com/07c9af9988f841cb1ca6f5b4a6394390 how would i get the information to stay on the right and not go behind the whole inventory is this possible?
find a place to put it and thn just place it there kinda thing
Anyone know why this is happening?
Not for support
I read everything. Nothing tells me how to fix it.
The file name is correct.
legit right here
is it a png file?
do you know what line it is please
He didn't get an answer.
Yes.
Check fxmanifest if you just replaced ui
on html change inventory location its wrong location
and add rename to the body png
why compress resource? why not just upload the raw files
does this work with the new weapon attachments and weapon skins?
Looks good! Maybe an inventory option to remove clothes?
added cash and bank
This is not for support.
Stop asking for support.
nice ui design really love it @bleak rock
how did reactive the weight?
hey can i just add the html and css? cus i got a lot of changes to my ps-inventory 🐸
btw what is the icon for the ground?
is the ,,Activate Windows'' part of it ?
Haha I know I need to activate it at some point
Oh wait nopixel added a new footer section crazy
amazing nopixel inspired foot note
how back wegiht ?
how you did it 😄
I hadn't thought of that, thanks 😄
hey bud how did you get the item description to stay on the lower right?
it was like that when i downloaded it from here
https://github.com/iONDegen/ps-inventory
strange i got the same download but mine moves all over the place
Only issue had the main for id card other item description work fine
when you hover over items does the info always show in lower right for you? or does it move around etc
ohh okay
is the cash and bank from using an older inventory code? or u did this yourself
i use a snippet i found in this discord
ill have alook thankyou
this is not for support, pls use #💬︱support
other then that, u renamed the inventory so its not working anymore
can I dm you?
yes
could u possibly send me the snippet thanks
search 'cash' in releases its first one
got it mate cheers
this is from ps-inventory or qb-inventory ?
it was from this https://github.com/iONDegen/ps-inventory
ps-inventory
ah okey then . should i using new shared item for this inventory ?
can i know preview for crafting ps inventory my friend ?
i don't use that so its just the default one
That detail is great, it could also be that cash is an item to generate robbery roles between players
this is my final version of the edit
personal info area looks clean
Gg man looks clean
Is this your personal Edit or the one linked here?
yes its a edit of this one
Oh okay. Looks cool would love to have it!
What is the export for remove item
No support here
Does it have the right click to choose to give
Nice job, I would only change this
It does not look flowing
Thanks ❤️ Yeah i will find good spot for it
My edit 
care to share the snippet lol 😉
Something I did for the server I'm devving for so sadly not 
im trying to do the personal section but keep failing 😦
are you able to share snippet of personal info? if not all g
Sorry its something I did for my server so sadly not
where is your attackment button locat ?
Inventory wasn’t designed for that for our server, we use a bench for that. As well as crafting
Minor edit, long long time for final, huft 😭, second slot deleted cause suck. i need snippet personal information, lol
hey buddy how did u activate the weight values ?
Copy from original inventory
final update
are you willing to share how you done the Personal Information boxes?
Play with CSS only using border-left-color and border, Example like this :
position: relative;
color: rgb(65, 199, 165);
font-size: 15px;
font-family: 'Oswald', sans-serif !important;
border-left: 5px solid;
border-left-color: rgb(119 183 43);
letter-spacing: 0.01vh;
left: -10%;
padding: 5px;
bottom: -55;
cursor: none;
``` Happy Exploring
My update with right click menu instead of dragging to use / give, working on slider to split items
share pleaseeee😂
Final Batch 1, with health info and stress info
share pleaseeee😂
XD
not to be shared, only personal use, Maybe in the future I will release 
It just provides motivation, that by learning all we can do. Nothing is impossible. The point is that there is a desire to learn
Nice
I tried to do number and job and kept getting undefined
cant fix this issue 
@quiet glen can you share your version on the inventory ? I wanna use the item drops too 🙂
The phone shaking at the top makes me think its rining LMAO
haha
Here's my latest update, was able to get the split / slider working correctly
thats sexy asf
think it would be nicer with a background
darker you think?
clean 👌
this is my final version
Is your edit public? This is awesome!
think you should change the icons a the top
but thats me wanting it to look spot on to NoPixel
what are the NoPixel one's?
nah not public
sorry for pinging you but your the only one ive seen sucessfully do it. can you point me in the rite direction of where you were editing to get the item info to be fixed in the bottom right ive been playinf with it for a week and cant get it lol
Now this is what I was hoping to see, Fuckin 🔥
do you know how can i fix mine ^
This is my first time editing
good job
I still need to work out how to do the personal information bit
mine is not good if you want i can share
yes please 😄
html lua <span class="namejs" id="player-inv-label">Player</span><br> $('.namejs').html(' <i class="fa-regular fa-mobile fa-bounce" style="color: #63E6BE;"></i> '+data.Phonenumber+' | State ID '+'<i class="fa-thin fa-group-arrows-rotate fa-spin-pulse" style="color: #63E6BE;" ></i>'+' '+data.CitizenID+' | Job '+'<i class="fa-solid fa-person-digging" style="color: #63E6BE;" ></i>'+' '+data.JobLabel+' | '+'<i class="fa-solid fa-hand-holding-dollar fa-flip" style="color: #63E6BE;" ></i>'+' '+data.money)
for client lua ```lua
local PlayerJob = QBCore.Functions.GetPlayerData()
SendNUIMessage({
action = 'open',
inventory = inventory,
slots = Config.MaxInventorySlots,
other = other,
maxweight = Config.MaxInventoryWeight,
Ammo = PlayerAmmo,
maxammo = Config.MaximumAmmoValues,
JobLabel = PlayerJob.job.name,
JobGrade = PlayerJob.job.grade.name,
Phonenumber = PlayerJob.charinfo.phone,
CitizenID = PlayerJob.citizenid,
money = PlayerData.money['cash'],
bank = PlayerData.money['bank'],
})
what does this look like in game?
tbh i need this how to use and give item :/
guys this is ps-inventory right
Fire 👏🏽👌🏽
like that photo from JZF
ah okay
my personal edit for the inventory (the inventory looks like done by a kid its because im new to css dont judge plz)
please someone i need snipets jewelery stash
dont think this works
it says undefined
i shared all the step
i did it like 3 times and still didnt work i dont know if you have a newer version or a older version
sh0w me your client lua #💬︱support
trying to find a way to make the health system works lol
Can u share this or tell me how u change the icon and the background?
bro this clean as fak
Can u share this or tell me how u change the use and Give ?
how to fix this?
im trying to drop an item and when i get it back i got that error
u just need to edit the html and css like this and make sure to have the icon png
Where did you get the icon.png
I just made my own icon
Can u tell me how u add personal information like you
@bronze whale you can use this
ok thnx
helpful thank you 🙂
how about split item and use / give ?
I haven't try out the split functionality with the dropdown menus for "Use" and "Give" yet.
@quiet glen hey bro , i used your snippets,any idea how to make the underscore _ to a | ?
Replace the space with |
The underscore is there due to nothing being there in the gap between your new line
$('.namejs').html(' <i class="fa-regular fa-mobile fa-bounce" style="color: #63E6BE;"></i> '+data.Phonenumber+' <i class="fa-solid fa-window-minimize"></i> State ID '+'<i class="fa-thin fa-group-arrows-rotate fa-spin-pulse" style="color: #63E6BE;" ></i>'+' '+data.CitizenID+' <i class="fa-solid fa-window-minimize"></i> Job '+'<i class="fa-solid fa-person-digging" style="color: #63E6BE;" ></i>'+' '+data.JobLabel+' <i class="fa-solid fa-window-minimize"></i> '+'<i class="fa-solid fa-hand-holding-dollar fa-flip" style="color: #63E6BE;" ></i>'+' '+data.money)
<span class="namejs" id="player-inv-label">Player</span><br>
thats the code i dont see where i can put the | lol
Where +data.phonenumber+ ends
ty but when make it and i open inventory image dont work
$('.namejs').html(' <i class="fa-regular fa-mobile fa-bounce" style="color: #63E6BE;"></i> '+data.Phonenumber+' | <i class="fa-solid fa-window-minimize"></i> State ID '+'<i class="fa-thin fa-group-arrows-rotate fa-spin-pulse" style="color: #63E6BE;" ></i>'+' '+data.CitizenID+' | <i class="fa-solid fa-window-minimize"></i> Job '+'<i class="fa-solid fa-person-digging" style="color: #63E6BE;" ></i>'+' '+data.JobLabel+' | <i class="fa-solid fa-window-minimize"></i> '+'<i class="fa-solid fa-hand-holding-dollar fa-flip" style="color: #63E6BE;" ></i>'+' '+data.money)
i just uploaded the images and put it inside your inventory_images folder
i did it for you
yes make it and ddint work
$('.namejs').html(' <i class="fa-regular fa-mobile fa-bounce" style="color: #63E6BE;"></i> '+data.Phonenumber+' | State ID '+'<i class="fa-thin fa-group-arrows-rotate fa-spin-pulse" style="color: #63E6BE;" ></i>'+' '+data.CitizenID+' | Job '+'<i class="fa-solid fa-person-digging" style="color: #63E6BE;" ></i>'+' '+data.JobLabel+' | '+'<i class="fa-solid fa-hand-holding-dollar fa-flip" style="color: #63E6BE;" ></i>'+' '+data.money)
work for ox inv?
No
@balmy oyster did you edit the html?
yeah
thank yall i appreciate yall
last thing i cant find the yellow color below the items im trying to change it to blue too haha
in main.css
theres 45 options damn lol
only change the yellow if thats all u need
https://gyazo.com/9d36f9370b009a0cf0f18aed32848f6b i went for a different blue
you just need to edit the logo colours in your text to match overall colour
also make sure to add the images in your fxmanifest sorry
'html/inventory_images/*.png',
@solar daggeraaa ok thanku broo
can u send me your css file bro?
@solar dagger
gg fam thank u
put image in ./images/
and changes from ./inventory_image/ to ./images/
igot it thank u bro
more progress
looks sick, I still need to the do personal information stuff
Something like can be added ?
you are killin it, I've been trying to do the backpack for a little bit 🤣
Do the same as the inventory, duplicate it but change how it opens and save it as an inventory item like stashes but do backpack_
how did u do that style
Item Info on right click
here's a little preview https://streamable.com/b7l8ej
looks nice should add a thing where you can type how much cash you want to split though
Yea the amount is an input field so it does work like that ^
ahh okay
Bet 😄
Its fuckin crazy to see what ya'll are doing with this, Glad I was able to provide something that you could add onto
dude how ? i need to know 😦
drop item
thanks for share
👌 clean
U can send it?
tryin to catch up to 4fib
looks nice 🙂
I wish I new more about html and css really need to learn
nice
ima keep it a buck i have no fuckin clue what i'm doing either, I didn't expect the release to get this far so now i'm pushin myself 😄
update on github?
When I'm done, FS then I'ma stop with the inventory and try to work on a HUD or somethin
nice ur best man
its np
Good job 👏
agreed
I just fuckin hope that we can get close enough
suggestion add scrollbar for player and backpack for more slot
try to set the body image transparency to screen
mix-blend-mode: screen;```
But I'm not sure if it works in NUI
i'll have to check it out
Yeah I plan on it, I'm just currently having an issue with the use / give button. The code seems to be fine its just the buttons don't wanna work 😄
so i wanna fix that before goin any further
fixed my combine button
very nice
Would you share that?
anyone got the latest fixes?
latest update, finished all item info passed through to the new style menu

sexy asf

what are the background colors, i can't seem to find them
i want to use the same colors for other scripts
name the font?
I fuckin knew I'd wake up to more updates from you 😄 I gotta keep up with this fuckin heat
not sure I don't think I set a font there because it doesn't look like the default oswald that was used
Easiest part of this so far was the personal information 😄
Also added back the original lj-inventory hotbar, The NP hotbar is the first few slots of the actual inventory so I decided to do the same for more authenticity
nice work
so whats the function of the two pockets columns since you moved the hotbar? and then does the backpack have its own weight vs the player packpack?
it can have its own weight if you put the effort and time into doing that, For the next update it will just be the player's weight. So technically only the "player backpack" weight
this ox?
Is there also the 6th slot system? That the 6th slot is a secret slot? If so, where is this?
What is the open inventory stash server export for ps inventory
Nah it’s ps/qb-inventory
Looking good! I decided to remove the hover description as I found it annoying when moving items around.
currently taking a break from inv to update qb-phone but I want to attempt a new / better give function
TriggerServerEvent("inventory:server:OpenInventory", "stash", pendingOrders[index].stashId, nil, src)```
Anyone know why that doesnt work
You two work together is better I think
I praise your effort! I will admit it is a bit annoying and as of right now I can't get the use button to even work with the new description stuff 💀.
I look foward to seeing what you can do with the phone and best of luck in the future!
in the current version I released the 6th item slot wasn't even in my mind, It can easily be edited / tweaked tho. In the update i'm working on the 6th slot will be standard and not hidden / locked
how to edit like this
can u share the edit? i like position of give combine and all that
Hey can i message you personally ?
When does the realise happen
Any thoughts to adding the props spawn on ground?
Its gonna be a feature, Thanks to root it was fairly simple to implement
Send me a message request
suggestion
1- use radial gradient for background from "lighter color" to "darker color"
2- use 2px solid "lighter color" border
3- expand the item name container width
4- use lighter font weight for "removed"
only if you want exact result
can only one add body damage ?
last thing I need to do from the list is the gradient but thanks for the tips!
i can give you the code
background: radial-gradient(circle, rgba(49,212,169,1) 0%, rgba(35,133,107,1) 100%);
background: radial-gradient(circle, rgba(49,212,169,1) 0%, rgba(44,186,149,1) 74%, rgba(35,133,107,1) 100%);
try both
Current preview of it, Until I can get the inventory options to work as buttons instead of draggable i'll update it but for now this is what it looks like.
Will u release or?
yeah i'll be releasing it soon
free or paid?
not today but one of these days
free 😄 its a free inventory script you shouldn't pay for something thats been free for years
🫡
Thats my opinion too but many people just take scripts and redesign/edit and put to be paid ;/
Yeah I just ignore those bums tbh, Most of the time they are selling stuff they didn't even make. Its already happened with the first version I released of this 😄
Anyway you can tie at least overall health and stress into the body.png ? Just something basic instead of the full on limb damage
That is something I wanted to do before I released it to ya'll, I have had so much dm requests and so much requests in general for it 💀
but keep in mind it can probably be done better by someone else I'm just a noob trying to piece things together
AND THIS IS SOMEONE I RESPECT ❤️
your no noob you've done gods work and I'm sure if you released it someone can help with the health system
Yeah I think literally just showing health % and stress % is sufficient enough tbh. You’ve already spent enough effort on this free release!
That way the body img has some what of a use imo
Starting workin on the damage part, So far just getting the ui pieced together
awesome!

😄

This is a much nicer and simple approach
Damage: 60%
Compared to all the other colors red and all that
Thank you 🙏
If only I could get the fuckin use button to work like 4fibs 😄
The damage is already setup, It was pretty easy and i'm just gonna use the qb-hud code for the stress part. Then basic damage should be implemented 😄
Little Things u could add:
- make the damage Red and the Stress like Purple
- check ambulancejob i think they can check between left leg, right leg and so on, and could be added into the inventory ( https://github.com/qbcore-framework/qb-ambulancejob/blob/787d5787134be65f7456acffa9125b8f7321170c/client/main.lua#L32 )
Yeah you're onto something and it gives me some ideas on how to flesh this out a bit. I just need to figure out what i'm doing 😄
😉
Hey not letting me private message you
Do not bother our members.
another suggestion!
the character details layout is kinda off
you can move the right column to the right
also you can move the line to the right too
It is not "kinda off"
and you can use you character details text style for your body damage info too
like stress on top and the 60% at the bottom
"just suggestions"
They are perfectly aligned
its the current layout

thats what i suggested
even tho he asked ?
i asked him if i can message you personally he respnd send me a message request
I sent you a request
Basic health implementation is done, I'm still looking into bones and all that but this works for right now I hope
Thats insane - super nice job.
thanks I just gotta touch up some of the ui aspects and then i'll push this for the update
then continue to update it over time with more features as I figure them out
Very nice iON. From what you were saying early in this thread to where you are now, great work!
Also thank you for releasing this for everyone 🙂
Yes Great Work ❤️
The damage should now only show up when hovering over it like in NP
Bro how could u say your a noob, you my friend are a God.
I think you forget to add amount input box
I've mainly been a LUA dev this is my first big step into the UI side of things
Its been suggested and I am 100% gonna be taking a look into it, I know its gonna get stale just looking at the blank colors
I have it set to right click, Its still the slider that I showed previously just without the inventory buttons if that makes sense. Just think of the inventory buttons as placeholders they probably won't be there on the release of the update
✔️👑
U insane cant say anything else
🙏
Fixed up the Itembox once more, It no longer should spam multiple itemboxes. It shall keep the 1 itembox and just update it to the action
good job
thank you very much brother
Its no problem
you're actually insane man, very talented! honestly great work for your first ui project keep it up broski
Thanks 🙏
did you update github also ?
not yet i'll make sure to let ya'll know when I do
okey brother ❤️
is the progress bar part of the inventory?
Nah thats just my edited default progressbar that I use in my server
Can it be released or not?
I'm currently doing some final touches and then we'll see about a release tonight
tnx bro
do you know where can edit this ?
The work that root did for the drops has been implemented 100% 🙂
Yeah 1 sec lemme go make sure
.item-slot-amount {
position: absolute;
top: 0.3%;
right: 0.15vw;
background-color: #41414b00;
padding-right: 4px;
padding-left: 4px;
}
.item-slot-amount > p {
color: #ffffff;
text-align: right;
font-size: 1.25vh;
font-weight: 400;
cursor: none;
font-family: "Oswald";
}
Thats where you should be able to edit that
ok thanks
i just want to remove it the cyan color is the amount but the right side i am not sure
found it its lua .item-slot-name > p { this one
ah okay thats mb I have them both the same color and transparent 💀
removed
Yeah removing it makes the slots look a lot cleaner nice job on your edit
I can give ya'll that if you need
the way I have it setup is not hard, a little messy but pretty easy to setup
i will wait for update 
🙏
Ngl kinda loving this
wow thank you so muuuuchh ❤️
pretty clean
you can improve it by showing them when user hover on the body, not the text it self
if the body status is inside the body image div you can do it with css
are adding something like this ??https://discord.com/channels/897744257237000222/1201114074788925521
then its possible add target on prop for pickup
you can always find a design that is really close to .. here:
https://github.com/JonasDev17/np_inventory
Currently updating the Github, Update should be out soon 👍
should be out i guess
^^^ It just went up
Update is out everyone! Keep in mind I removed the item images but just add your own images folder and the items should have their images
Is the duping glitches fixed for ps-inventory?
Feel like that is a big part holding qb-inventories back
Downloading when I'm home 😉
This uses the most up to date version of ps-inventory from their github, All I did was edit the UI
might even try adding a function when you drop an item it shows a sprite and u can interact with the sprite to pick it up
Yeah you'v done a great job.. was just wondering
Yes Working
I can take a look and see if there's anything I can do about the duping glitches
Ahh the icons are off centered but for me they are centered
may be due to different resolution
Yeah what resolution do you use if you don't mind me asking?
I didn't touch any of the higher resolution stuff yet, I don't have a monitor thats higher than 1920 x 1080
2560 X 1440
oh yep that would do it 😄
I'll push for resolution support in the next patch I do, I still have a lot I wanna add to the inventory
Thanks Man
Its no problem, Bugs were bound to happen so i'm glad to have caught that right away
anyway to solve this ?
Did you use "qb-inventory" or did you use "ps-inventory" before the update
qb
go into the inventory and rename every "ps-inventory" to "qb-inventory" and the problem should be fixed
It is qb already
Even in the inventory's JS, CSS, HTML, Client and Server?
worked , Thank you
Its np, I'll push a branch with the inventory renamed to qb-inventory for convenience
Do i miss something
Nah, I'll have to take a look at that. I didn't notice it before
but I do get the same error
is calling undefined function GetDrops() , there is no such function in script
Found it add this in the server\main.lua on top:
function GetDrops()
return Drops
end
I'll take a look and quickly put it in the github for everyone
did you use ox inventory before?
yeah
thats why you need to wipe your inventory and give yourself fresh items
inventory not db thats mb
i'm still cooked from waking up
Pushed the fix to the github, Thanks for the quick fix!
i hate asking on free stuff but could you point me in the right direction to make this not cut of for 1440p
You'd need to look at the itembox-container and then try and fix it with the higher resolutions. You can do so in the css I'm pretty sure by adding the itembox-container stuff to @media (width: 2560px) and (height: 1440px) or @media (width: 3360px) and (height: 1440px)
and then just editing it to look as intended with the higher resolution
thankyou
its np, as I said before I am gonna look into the higher resolution stuff in the next patch. I just currently don't have a higher resolution monitor so i'd need to find someone who'd be able to test it for me, I'm learning along with ya'll 😄
hey mate so im guessing just rename everything from qb-inventory to now ps-inventory?
Or you can go into the inventory itself and change all "ps-inventory" to "qb-inventory" and it will be easier
gotcha cheers
🙏
Yeah I wanna do this instead of having it so you hover over the text, It seems pretty easy to do but for right now it's what I showed before
I just pushed a new branch called "qb-inventory" this is for ya'lls convenience so you don't have to sit there and rename the ps-inventory to qb inventory yourself!
can someone get me a better img of this so i can improve the css and put it here ?
this one is low quality
also in the name its missing a .. to space first name and second name
instead of John Doe its JohnDoe
is there a way to add a drop feature when you right click to use /give or a way to split items ?
i can't drop a specific amount , it drops the whole stack
Line 496 client/main.lua
You have to add your own images folder
Amazing release man ..
Jujst wondering if its possible to see all slots when robbing a person or can you only see The backpacks slots?
You see the other person's complete inventory when robbing, You'll just have to scroll down in their inventory like in np
hello dear, thanks for this amazing release, I see everyone is ok accept me I got this error HasItem
Do I have to change ps- to qb ?
So cannot see my "Pockets" items
nice one
repair kit is massive 🤣
have to make it yourself and then call for it
This look great btw 🙂
How did u drop items
@bleak rock ihave problem
it already on there when you download the lastest
@bleak rock seems like I fixed the robbing issue .. Saw how many slots you made in the js and just made the otherplayer inventory slots the same
Looks like it still has empty slots and might break .. so technically not a fix .. I see you used different numbers for each of the player-inventory to get the spacing you need .. mega sadge
Is there a way to just call those slots in the lua code ?? when being robbed? I'm not familiar with NUI or whatever its called
RegisterCommand('robme', function()
local ped = PlayerPedId()
QBCore.Functions.Progressbar("robbingme", "Touching myself...", 1000, false, true, {
disableMovement = true,
disableCarMovement = true,
disableMouse = false,
disableCombat = true,
}, {}, {}, {}, function() -- Done
TriggerServerEvent("inventory:server:OpenInventory", "otherplayer", GetPlayerServerId(PlayerId()))
end)
end, false)
"Made" this to test the robbing
ive got this problem
i tried what u said but it doesnt work
Download the new version
i just downloaded
If u r using qb-inventory it should work
im using this one
Is it the curser problem ?
but i renamed it all to qb-inventory
yh
This is the one I am using
im trying to use that one but the it stuck on screen when leaving inventoery
when does this come out
This thread is not for support. Stop talking about support here.
Yeah when trying to go to a shop you can't buy anything
Do you not see the big bold text above?
I'm letting him no its not support if im saying there a bug
