
π»Towing Locations
Easily add locations for towing truck rental, these can be public use or restricted by jobs in Config.Towing
IMPORTANT INFORMATION
The
keyis the location name and must be uniqueThe image must be a
.pngfile present in my vehicle-images github repo (submit a PR for custom vehicles) as these are loaded dynamically from an external linkthe prop
coordsandspawnCoordsmust be vector4 for the prop and vehicle spawn locationsRestrictions can be set via the jobs table
The offset values for the ramp object must be
vector3Define blacklisted vehicles from being attached by their
spawn name
Location Name
The
keyis the location name and must be unique
['My Towing Location Name'] = { -- the key is the location name and must be unique
},Prop
Model is the prop model name
Coords must be
vector4Spawn coords must be
vector4Icon is the target icon
Label is the target label
Distance is the target distance
Blip
If required you can enable blips for each towing location
Blip information can be found here: https://docs.fivem.net/docs/game-references/blips/
Id is the blip id
Colour is the blip colour
Scale is the blip scale
Title is the blip name
Job Restrictions
If required you can set restriction via job names to each towing location
The job name must be defined correctly in your jobs.lua
Vehicles
Define vehicles that can be spawned via this towing location
The
keyis the vehicle spawn name and must be in your vehicles.luaThe image must be a
.pngfile present in my vehicle-images github repo (submit a PR for custom vehicles) as these are loaded dynamically from an external linkDefine the ramp model you wish to use for the vehicle (supports custom props if required)
The offset must be a
vec3valueDefine blacklisted vehicles that can not be attached to the tow truck by defining their spawn names in the black listed table
Finished Config
Below is an example of a fully finished config entry for a custom location with a job restriction and a black listed vehicle
Last updated