#qb-core
1 messages Ā· Page 1 of 1 (latest)
to fix the issue i tried ```function QBCore.Functions.HasItem(items, amount)
return exports.ox_inventory:GetItemCount(items) >= (amount or 1)
end
but i get a black screen
and ideas
Are you using this ox_inventory
⢠Full QB-Core support
⢠Optional QoL features like rarity indicators
⢠Actively maintained and updated
What is your load order?
What do you mean
like how do you have things started in your cfg?
1 sec
i can show you
restart [okok]
restart okokChatV2
ensure lation_ui
ensure env
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure baseevents
start ElectronAC
ensure oxmysql
ensure ox_lib
ensure menuv
ensure qb-core
ensure okokChatV2
esnure cd_bridge
ensure illenium-appearance
ensure [Depends]
ensure [qb]
ensure ox_target
ensure ox_inventory
ensure [ox]
ensure [standalone]
ensure [defaultmaps]
ensure chat
ensure [MLO]
ensure [Lation]
ensure cfx-nteam-mapdata
ensure cfx-nteam-monorail-map
ensure cfx-nteam-legion2
ensure cfx-nteam-fleeca
ensure cfx-nteam-police
ensure cfx-nteam-hospital
ensure [EUP]
ensure [CustomClothes]
ensure zpack_repl
ensure zpack_1
ensure zpack_2
ensure zpack_3
ensure zpack_4
ensure zpack_5
ensure [voice]
ensure cd_dispatch
ensure [Cars]
ensure [nolag]
ensure player-data
ensure [gamemodes]
ensure [system]
ensure alecjersey
ensure [Jobs]
ensure [nolag]
ensure [codewave]
ensure [managers]
ensure [jg]
ensure [Jaksam]
ensure [Drugs]
ensure [LGRP GANGS]
ensure [local]
ensure [LB]
ensure cfx-nteam-monorail-script
ensure um-multicharacter
ensure [Standalone2]
ensure [Standalone3]
ensure [Weapons]
ensure [Loading]
ensure my-gangs
ensure kyros-weapon-pack-female
ensure kyros-weapon-pack-police```
Welcome to the ultimate guide on mastering QBcore and Ox Inventory! In this comprehensive tutorial, we'll take you by the hand and walk you through the complete setup and installation process of QBcore and Ox Inventory, covering everything from scratch. Whether you're a FiveM enthusiast or a scripter looking to elevate your game, this video is p...
did u follow this video? i think your load order is incorrect
i can look
[nolag] is getting ensured twice, remove one of them. Doesn't affect ur problem with the error but just fix that lol please
and why do you use "start" instead of ensure for ElectronAC?
You should use your folders more effectivley in my personal opinion
[Clothes]
[MLO]
[qb]
[standalone]
[voice]
[cars]
[misc]
Divide all of them into this, makes ur .cfg alot cleaner and stuff will be more easy to start
like orginize them
yes. please š
ok
i was deving for my friend and he had it like that
i normally have them organized
Question
i have ElectronAC
where should that be ensureed at
anywhere
just wandering what you thing
Never heard of that anti cheat. They should tell you where. I usually start it last my anti cheatās I use
Should be in their docs, and if it's not it doesn't matter
it jsut tells you in the doc start ElectronAC
Would you know why my inventory aint starting
i wa organizing the files and cfg to look better
and i have it like this ensure env ensure mapmanager ensure chat ensure okokChatV2 ensure spawnmanager ensure sessionmanager ensure basic-gamemode ensure hardcap ensure baseevents ensure ElectronAC ensure oxmysql ensure menuv ensure [Depends] ensure ox_lib ensure qb-core ensure [qb] ensure ox_target ensure ox_inventory ensure [ox] ensure [standalone] ensure [Standalone2] ensure [Standalone3] ensure [LB] ensure [misc] ensure [Maps] ensure [defaultmaps] ensure chat ensure [EUP] ensure [voice] ensure [Cars] ensure player-data ensure [gamemodes] ensure [system] ensure alecjersey ensure [codewave] ensure [managers] ensure [Drugs] ensure [local] ensure [Weapons] ensure [Loading] ensure my-gangs ensure kyros-weapon-pack-female ensure kyros-weapon-pack-police
Yep your load order looks incorrect.
I personally canāt help further as Iāve given you the link on what to do and as youāre intermediate you should know how load orders work
Jeez that load order is a mess
Pro tip you can make comments in your server cfg with a hashtag. Or even make multiple CFGs and you would execute them with āexec (name of your cfg)ā thisāll help you a lot with making everything clearer
Fivem Developer
š the title has lost the plot