[FREE][QB/ESX] jbb-vtcjob : UverX for Los Santos

JBB-VTCJOB : Become an UverX driver

I everyone, this is my first ressource shared with the community.

I wanted to make an simple script to allow players to be an UverX driver but also to be able to request the app for a ride which will be sent to driver on duty.

I made this script just for fun, I don’t own a server to test it, so all the tests were done on my local server with my 2 game clients launched.

Here are 2 videos (no editing, sorry) to show both cases :
NPC ride demo
Player ride demo

Feel free to open issues on github if you find some, i’ll probably add some more features in the future.

resmon

While not using :
image

While driver is on NPC drive :
image

When new course arrive or distance are recalculated :
image

Customer when asking for a ride :
image

Driver (on top) and customer (bottom) while on a customer ride :
image

Screen captures

The menu when on duty as a driver
driver_onduty

The customer requirements when NPC entered the vehicle
driver_pickedup_client

The current drive in progress for the Driver
driver_evolving_satisfaction

A B
Download Github
Framework QB/ESX
Code is accessible Yes
Subscription-based No
Lines (approximately) 2000
Support No
14 Likes

This looks cool! I will test it out in my server :slight_smile:
Whats the resmon like?

While not using :
image

While driver is on NPC drive :
image

When new course arrive or distance are recalculated :
image

Customer when asking for a ride :
image

Driver (on top) and customer (bottom) while on a customer ride :
image

I’ll push an update soon (in like 1 or 2 hours) with the feature making it possible for a player to rate his driver after the drive.

1 Like

sql file cannot be read, it gives many errors, I would appreciate it if you could edit it

1 Like

What kind of error did you had ?
I’ve run the script on a fresh database and had no problems.
Waht Database are you using and which version ?

EDIT: Wrong file indeed on github, i’ll push the good one.


I get this error when I switch to driving mode

1 Like

Sorry for the inconvenience :wink:
I forgot to change a variable in my last commit. It should be good now.
The diff is here : Commit 3954cd89

dope. nice job on UI

1 Like

Thanks, I appreciate it :wink:
Feel free to give any ideas.

please made esx version

1 Like

I’m not familiar with esx framework, but i’ll put it in the backlog

2 Likes

I’ve started to make the ESX version.
I’m on a fresh installed ESX without any third-party scripts installed for money/items/inventory …

I’ve tested NPC drive and Driver at the moment and it seems to work.
I need to go deeper in tests before releasing this version to be sure nothing has been broke QBCore side and to tests parameters like required job/items …

You can get the code from the branch feature/esx_compatibility

1 Like

NEW VERSION

Hi everyone.
The release 1.1.0 is here.
This one contains ESX compatibility and the release is directly available here : Release v1.1.0

I’m adding some new pages to the wiki to help you tweak the confs :wink:

See ya !

1 Like

Can you give more details.
I have no problem running it on my local server, do you use anything particular on your server ?

notify !!

Okay that’s why you have the error. You can adapt the code to support you custom notification system.

On line 60 you can change the call to you’re notification ressource.
Can you give me a link to the ressource you use for notification to see if i can make a better solution to support other notification ressources.

error in line : 60 QBCore.Functions.Notify(source, message, genre, time)

Can i deactivated the NPC Drives and only use it for Players ?

I just pushed an update on branch main, not tested but should be good.
The new conf is : Config.VTC.general.npc_drives_enabled = true/false

1 Like