Car-Modes
Dependencies
- qb-core
- interact-sound
- ps-livery (Optional as this will put those cars alredy available in the config.)
Installation
- Copy the script and put it in your server resources
- Move the sound file from the sound directory to [standalone]/interact-sound/client/html/sounds
- Add the following line to your server.cfg somewhere after 'ensure drp-carmodes'
How to add more vehicles?
In config.lua file after the line add the below lines according to the car you want to add.
["pol2"] = { -- use the car spawn name you want to use
["A"] = { -- keep the modes you want to have for that car
["fDriveInertia"] = 1.000000,
["fBrakeForce"] = 1.700000,
["fInitialDriveMaxFlatVel"] = 130.000000,
["fSteeringLock"] = 43.300000,
["fInitialDriveForce"] = 0.270000
},
["A+"] = {
["fDriveInertia"] = 1.100000,
["fBrakeForce"] = 2.000000,
["fInitialDriveMaxFlatVel"] = 150.000000,
["fSteeringLock"] = 44.200000,
["fInitialDriveForce"] = 0.32
},
["S"] = {
["fDriveInertia"] = 1.2,
["fBrakeForce"] = 3.5,
["fInitialDriveMaxFlatVel"] = 170.0,
["fSteeringLock"] = 45.3,
["fInitialDriveForce"] = 0.37
},
["S+"] = {
["fDriveInertia"] = 1.3,
["fBrakeForce"] = 4.5,
["fInitialDriveMaxFlatVel"] = 190.0,
["fSteeringLock"] = 46.3,
["fInitialDriveForce"] = 0.45
}
},