Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {}
- -- Type in 'esx' or 'qbcore' depending on your framework
- -- Type in '' if you are using standalone version
- Config.framework = 'esx'
- -- Enable if you are using standalone version of the script
- Config.command = {
- enabled = true,
- command = 'cut_cat'
- }
- --If vehicle's catalytic converter can be cut if someone is inside a vehicle
- Config.canCutIfVehicleOccupied = true
- --If item should be one time use
- Config.toolOneTimeUse = true
- Config.cuttingMinigame = {
- -- how long the player has to search before cutting the catalytic converter out (in ms)
- searchingTime = 7000,
- -- how many inputs player has to make to cut out the converter
- cuttingLength = 30,
- -- how long player has to wait when misclicking (in ms)
- cuttingMessedUpDuration = 5000,
- -- inputs player has to make to cut
- cuttingKeybinds = {
- 'A',
- 'D',
- 'W',
- }
- }
- Config.sound = {
- -- whether or not to use custom sounds for when the cat is cut
- enabled = true,
- -- The sound name (can be found in vehicles.meta)
- sound = 'TORNADO6',
- }
- Config.smokeScale = 0.9
- Config.smokeOpacity = 0.1
- --Item that is used to cut the catalytic converters
- Config.toolName = 'angle_grinder'
- --Item that will be given after cutting the catalytic converter out
- Config.catItemName = 'catalytic_converter'
- --Catalytic converter can not be stolen from these vehicles
- Config.blacklistedVehicles = {
- 'police',
- 'ambulance'
- }
- Config.selling = {
- {
- location = {
- x = -215.2, y = 6278.6, z =31.48, h = 266.0,
- },
- pedModel = 'a_m_y_soucent_02',
- duration = 2000,
- items = {
- {
- item = 'catalytic_converter',
- label = 'Catalytic converter',
- price = math.random(75, 150),
- },
- },
- blip = {
- enabled = true,
- sprite = 761,
- color = 76,
- scale = 0.7,
- },
- }
- }
- ----------------------------------------------------------------------------------------------
- --- KEYBINDS
- ----------------------------------------------------------------------------------------------
- -- https://docs.fivem.net/docs/game-references/controls/
- -- Use the input index for the "input" value
- Config.keybinds = {
- interact = {
- label = 'E',
- input = 38,
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement