Vehicle Configuration
Shared.Vehicles
Vehicles that can be used by Police Dog's must be added to the configuration file.
Each vehicle requires the following options:
- model
: The spawncode of the vehicle you are configuring
- doors
: A list of doors to open when the dog exits/enters a vehicle. Options: 'trunk'
(With Quotes), 0
(Without quotes - Left Front Door), 1
(Without quotes - Right Front Door), 2
(Without quotes - Left Rear Door), 3
(Without quotes - Right Rear Door), 4
(Without quotes - Hood/Bonnet)
- seat
: The seat ID that the dog should be placed in. Options: -1
(Drivers Seat), 0
(Passenger Seat), 1
(Back Seat Drivers Side), 2
(Back Seat Passenger Side).
You can also optionally add a secondarySeat
parameter. This takes the same seat ID's as the above option, and is used if the primary seat is occupied.
Shared.Vehicles = {
{
model = "spawncode", -- Vehicle Model/Spawncode
doors = { 'trunk' }, -- A list of doors to open on that vehicle as the dog gets in/out. Leave empty to not open any doors. Options are "trunk" (in quotes), 0 - Left front door, 1 - Right Front Door, 2 - Left Rear Door , 3 - Right Rear Door, 4 - Hood (All numbers should NOT be in quotes)
seat = 1, -- The seat ID the dog should get into. Drivers Seat: -1, Passenger Seat: 0, Back Drivers Side: 1, Back Passengers Side: 2
secondarySeat = 2 -- The seat ID of the dog should get into if the primary seat is occupied. This option is OPTIONAL and can be removed from the config without issue.
}
}
Last updated