I know the title is a little wonky, but I’m on the QBCore framework and I was wondering how to go about changing new players inventories. Basically new players only spawn with ID. drivers license (I believe) and a phone. I was wondering how to go about editing this so that I can make it so lockpicks and repair kits are added to fresh new players inventory without the trouble of another player assisting them. Currently with those 3 items that fresh players spawn with it can be a bit ‘tedious’ to say the least to have to walk from random parts of the city all the way to the dealership to acquire themselves a new car.
So is there a specific function/config that I can edit or change this value so specific items are able to spawn into new users inventory, OR do I need to edit anything particular in the database for QBCore to allow this to happen
3 Likes
Super easy!
In qb-core/shared/main.lua. Search for StarterItems.
17 Likes
You, my kind person, are an absolute treasure and should be valued 150% of the time. Thank you so much I cannot tell you how much you have helped me with this <3
4 Likes
Thanks for the kind words.
Please mark my previous post as a solution so that others that search the same question, can see there is an answer.
Good luck with everything!
8 Likes
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.