hiype / hiype-cardelivery Goto Github PK
View Code? Open in Web Editor NEWFiveM car delivery resource for servers with QbCore Framework.
License: GNU General Public License v3.0
FiveM car delivery resource for servers with QbCore Framework.
License: GNU General Public License v3.0
I'm currently running the newest QBCore, love the concept btw. I'm having an issue where the job starts, but the next objective doesn't show on the map. I'm trying to go through the code a bit and normally I can solve it but this one has stumped me. Can you provide some help as to why it might not be showing? I basically just copy pasted your folder into the server and added the required line. I'm getting no errors so it's hard to troubleshoot.
Good,
Every so often I see that on the server I get this error:
SCRIPT ERROR: @ Hiype-cardelivery / server.lua: 56: attempt to index a nil value (local 'Player')
Sometimes it happens to me when I stay in the multicharacter and don't select anyone. At the time this error appears.
When a player completes a delivery, the vehicle is taken and the individual is not paid for the delivery.
Good,
Good script, keep it up! First of saying that in the client.lua on line 339 you have to pass it to lang and it also happens with the server.lua line 36.
And the idea I wanted to give you is that in many scripts like yours I have seen that there is a direct interaction with the police, not NPC. It would be nice to use the levels.
I had thought that for level 1 or 2, it is a 100% chance that the royal police will come for you. At level 3 that at 80% the royal police will go for you and if not an NPC will go. And at level 4 make it 60% (you can put it in the config to edit it)
If the police go after you, the person who has stolen the car will get a message "You have X seconds to deactivate the locator" And that locator will appear to the police on the map at all times where the stolen vehicle is. When it reaches 0, the police no longer see the locator. And the seconds could be configured in the config. So that level 1 is longer and level 4 is less time.
You can choose between keeping the vehicle as a personal or delivering it. For example: email from anonymous and it will say Screw the job, you wanna keep the ride? And you can click yes or no then it’ll set it as your personal vehicle and your next objective is to drive it to a nearby garage then mission ends.
Describe the bug
Target not working
[fixed]
A configurable option where you can write how much money you get for the car you deliver.
I get this error
Adding a real police count requirement of the mission assignor spawning (or you being able to start the mission from the ped) could be useful, since in RP servers there can be only real police as police, so if there isn't any online then people could farm the robbery.
vehicles sometimes spawn already broken.. immediate job fail. probably the cars spawning inside other vehicles
Option in the config disabling your ability to keep the car.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Unsure how to directly reproduce but this was triggered by attempting to start a job in my case
Expected behavior
No errors in console, able to start job without errors
Edit: Noticed it happens after I finish lockpicking and get in the car
It would be interesting if all the text shown to the user is in a local. Either directly in the config or the separate files. I say this because those of us who use another language, every time you make an update, we always have to translate.
I added addon cars to my script and then when I get to the location of the vehicle I get into it and lock pick it and the waypoint doesn’t update and the script breaks so u cant finish the mission. And also the money isn’t given after the mission so I had to add my own part also I recommend maybe a vin scratch option like nopixel to keep the vehicle as personal instead of just delivering it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.