Hello all. I am standing up my own server to play around with and I have a low level understanding of how things work, but I cannot find how to activate the weapon wheel after loading the recommended recipe during the install process. I have deactivated the resources I have thought to maybe control the weapon wheel using process of elimination but have been unsuccessful. I want to do a cops and robbers, non-rp server with jobs and economy like what a RP server would have.
The weapon wheel should automatically be enabled, so it seems a resource you have installed is forcing the weapon wheel to not display.
Comment out all βextraβ resources (i.e. resources that did not come with the default server installation) and try accessing the weapon wheel - it should start working.
Word of advice: I would suggest learning how to program/code with Lua for FiveM before jumping into creating a server. You will save yourself a ton of effort/time if you learn the basics and apply them rather than jumping head first into making a content filled server.
I am aware of this. in case anyone else from Google finds this thread and would like some real help to the issue, the add-on is qb-smallresources. Disabling it allowed the weapon wheel and other default gta resources that were disabled.
to be specific if you still want seatbelts and hands up functions as well as realistic hidden reticle like i did alternativly you can edit the files locally or using an ftp like filezilla or other platforms to access the files go to resources/[qbcore]/[qb]/qb-smallresources/client/hudcomponents.lua edit it and delete the any lines that say weapon in it as if you are not using small resources you can do without qbcoreβs shitty weapon system and also delete the line that says hide hud components 24 i believe the number it associates with it at the end of the line they leave notes saying what each value looks like for instance mine looks like the picture above or below, then you want to delete the weapon.lua files in the client folder anything to do with weapons EXCEPT for the recoil.lua file
CreateThread(function()-- HideHudComponentThisFrame - FiveM Natives @ Cfx.re Docs
while true do
HideHudComponentThisFrame(1) β 1 : WANTED_STARS
HideHudComponentThisFrame(3) β 3 : CASH
HideHudComponentThisFrame(4) β 4 : MP_CASH
β HideHudComponentThisFrame(5) β 5 : MP_MESSAGE
β HideHudComponentThisFrame(6) β 6 : VEHICLE_NAME
HideHudComponentThisFrame(7) β 7 : AREA_NAME
β HideHudComponentThisFrame(8) β 8 : VEHICLE_CLASS
HideHudComponentThisFrame(9) β 9 : STREET_NAME
β HideHudComponentThisFrame(10) β 10 : HELP_TEXT
β HideHudComponentThisFrame(11) β 11 : FLOATING_HELP_TEXT_1
β HideHudComponentThisFrame(12) β 12 : FLOATING_HELP_TEXT_2
HideHudComponentThisFrame(13) β 13 : CASH_CHANGE
HideHudComponentThisFrame(14) β 14 : RETICLE
β HideHudComponentThisFrame(15) β 15 : SUBTITLE_TEXT
β HideHudComponentThisFrame(16) β 16 : RADIO_STATIONS
HideHudComponentThisFrame(17) β 17 : SAVING_GAME
β HideHudComponentThisFrame(18) β 18 : GAME_STREAM
DisplayAmmoThisFrame(true)
Wait(4)
end
end)
this is what my current file looks like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.