Customization
There's some functions and events that you might need to customize the script and adapt it to your own server: dispatch, key system, notifications style, etc.
Dispatch Event
This event is triggered when the job vehicle enters a mission zone, the event receives the vehicle entity so you can use it with your own dispatch system:
client/framework/cops.lua
Hacking Minigame
This minigame is activated when the driver uses the hacking device while inside the job vehicle:
client/framework/minigame.lua
Vehicle Keys
Once the vehicle is hacked and the driver has full control of it, this function is triggered so you can add your own vehicle keys export/event and give the vehicle keys to the player:
client/framework/functions.lua
Set Fuel
The job vehicle is spawned with some random fuel set by the server, use your own export to add more:
client/framework/functions.lua
Notifications
The script uses the ox_lib notifications:
client/framework/notifications.lua
Last updated