Error loading script server/sv_server.lua in resource nc-rental: @nc-rental/server/sv_server.lua:42: attempt to index a nil value (global âQBCoreâ)
Where exactly are we suppose to add the line of code to "
AddBoxZone(âNewRentalMenu4â, vector3(-1230.054, -176.4136, 39.327087), 2, 3.2, "
I added it to the config for qb-target, How ever im getting the same error as someone above posted
Error :
Error loading script server/sv_server.lua in resource nc-rental: @nc-rental/server/sv_server.lua:42: attempt to index a nil value (global âQBCoreâ)
I will say this because it is important.
Everyone and how his eye target works, because everyone has a different eye. What I posted on github is just an example taken from my eye target.
The post in github is about how it should work with the events - you need to adjust it to your eye target.
Other than that I saw that you have a problem, feel free to contact me in private. I can help you both with the eye target and with the malfunction as I have already helped a number of people here.
I have already solved the eye target issue and have no errors with it. The target is done. But Iâm still having the other QB core error. Iâve tried to send you a Private message but Iâm getting a 505 error on the forums when I try to send a message. Would you mind messaging me first? Maybe it will allow me to reply to you
works great thank you, only problem I have is the cars spawn locked. any idea how to fix this ?--------------nvm i checked now its just the futa that spawns locked for some reason
Ok for anyone with the same problem I fixed it by changing line 89 from TriggerEvent(âvehiclekeys:client:SetOwnerâ, GetVehicleNumberPlateText(veh), veh) to TriggerEvent(âvehiclekeys:client:SetOwnerâ, QBCore.Functions.GetPlate(veh), veh)
Keep looking for scripts in this forum for your server instead of sending unhelpful messages.
You can say anything you want, but as long as you donât have proof (code + date of publication of it) feel free to continue watching the script and download it to your server as well.
Hey, so I installed the script (very well built no issues) but there is no ped at the location, I can âthird-eyeâ to see the option/menu, I can also rent the car and I get the contract and everything but there is no ped. Would you be able to help me?
would you be able to share it and possibly (if its not too much to ask) and run through on how to set it up? Or simply show how to add peds in general?