Most radar detector units are not built into the vehicle its a device you mount somewhere so I agree with the item idea to use it. Also adds to the games economy.
Do you have the code that would go into my items.lua for qbcore?
Yes I want to reduce the range of the detector just slightly
It’s in the items.sql, also check the read me for ox_imventory item
I will add this option in the next release
there is no items.sql, also im not using ox_inventory
+1 I would like to be able to turn the range down a little as well.
Does anyone have setup instructions for standalone? Am I supposed to change the config or anything? I keep constantly getting errors. Errors are about ESX SQL stuff. I don’t have any of that
Hey!
Go into the sh_config.lua file and change Config.Framework to false. Like this:
Config.Framework = false
Set it to false, and now it wont start due to me needing oxmysql.
I got that error. Any ideas or problem you might think it could be?
remove it from the fxmanifest
@JordanZABOT4411 Do you have the code that would go into my items.lua for qbcore?
what lines do i remove from it?
idk look in your fxmanifest and it should be there
You don’t need to add anything into the items.lua for QBCore.
In the fxmanifest.lua, remove or comment this line:
'@oxmysql/lib/MySQL.lua',
If you haven’t changed anything, it should be line 29.
would it be possible to make it jam ALPR’s?
so you just run a command then instead of physically having an item on you? i put it as an item in items.lua, functions for the majority part but it keeps breaking the sql, as well as the t/detector remove does not work
[script:RadarDetector] SCRIPT ERROR: @RadarDetector/sv_utils.lua:220: attempt to call a nil value (field ‘GiveItem’)
[script:RadarDetector] > (@oxmysql/dist/build.js:21810)
[script:RadarDetector] > runMicrotasks (:0)
[script:RadarDetector] > processTicksAndRejections (node:internal/process/task_queues:96)
Are you standalone? QB w/ ox_inventory, ESX, etc. What’s your server running? and you shouldn’t need to add anything into items.lua, as the script handles adding the item into QBCore with code.