Envi Scripts Documentation
  • 👋Introduction
  • 🌉Envi-Bridge
  • ⚙️Compatibility
  • 🖨️Licensing
  • 📒Premium Scripts
    • ❔FAQ / COMMON ISSUES
    • ‼️FIRST STEPS (READ FIRST)
    • ⭐Useful Resources
    • 👀Envi FiveM Showcase Server
    • 📸Envi-Camera
      • ❗First Steps
      • Inventory Setup
      • Editable Functionality
      • Complete Lens Kit
      • Printing Photos
      • Ped Reactions
      • Exports
      • Config File
    • 🪚Envi-ChopShop
      • Inventory Setup
      • How to Chop
      • Props for AntiCheats
      • Editable Functionality
      • Config File
    • 🪣Envi-Dumpsters
      • Common Issues
      • Inventory Setup
      • Editable Functionality
      • Exports
      • Exclusive Zones
      • Survival Items
      • Shopping Carts
      • Hobo Bowling
      • Hobo Taxi
      • Rats and Racoons
      • Config File
      • V2 Config
    • 💺Envi-Ejector-Seats
      • Inventory Setup
      • How to Eject
      • Editable Functionality
      • Config File
    • 🔥Envi-Flamethrower (Standalone)
      • Common Issues
      • Inventory Setup
      • Refueling
      • Editable Functionality
      • Config File
    • 🪽Envi-Flight-Suits
      • Inventory Setup
      • Flight Suits
      • Config File
    • 🍜Envi-Food-Truck
      • ❗VooDoo Required
      • Common Issues
      • Inventory Setup
      • Adding Additional Grill Items
      • Unique Shops with Liveries
      • Spawning the Trucks
      • Using the Trucks
      • Exports
      • Config File
    • 💍Envi-Forever-Rings
      • Inventory Setup
      • Editable Functionality
      • Ring Shop MLO
      • Config File
    • 💻Envi-Hack-Minigames (Standalone)
      • The Worm
      • Password
      • Firewall
      • Node Runner
      • Config File
    • 🎞️Envi-HUD
      • ❗First Time Setup
      • Common Issues
      • Inventory Setup
      • Adding Custom Weapons
      • Change Logo
      • Custom Fonts
      • Converting Notifications
      • Converting Progress Bars
      • Editable Functionality
      • Settings Save Location
      • Exports and Events
      • Commands
      • Vehicle Control
      • Anti Muscle Spasm
      • Ragdoll
      • Config File
    • 🎇Envi-Items
      • Inventory Setup
      • Config File
    • 🚑Envi-Medic
      • Common Issues
      • Fully Disable Transport to Hospital
      • Failsafe
      • Ambulance Scripts
      • Vehicle Fuel
      • Vehicle Keys
      • Exports
      • Config File
    • ☄️Envi-MethVan
      • Common Issues
      • Inventory Setup
      • Cooking Process
      • Editable Functionality
      • Adding a Vehicle
      • Config File
    • 🍃Envi-Megablower9000 (Standalone)
      • Inventory Setup
      • Config File
    • 👯Envi-Population (Standalone)
      • ❗Initial Setup
      • Common Issues
      • Config File
    • 🗒️Envi-Prescriptions
      • Common Issues
      • Inventory Setup
      • Editable Functionality
      • Config File
    • 🔧Envi-Sabotage
      • ❗First Time Setup
      • Common Issues
      • Inventory Setup
      • Exports
    • 🛒Envi-Shops
      • Common Issues
      • Inventory Setup
      • Exports
      • Editable Functionality
      • Config File
    • 📱Envi-Trap-Phone
      • Common Issues
      • Inventory Setup
      • Commands
      • Exports
      • Adding Custom Drugs
      • Using the Phone
      • Disabling Extra Services
      • Config Files
        • config.lua
        • dialogueSettings.lua
        • extraServices.lua
        • gangZoneSettings.lua
        • personalitySettings.lua
        • specialContactSettings.lua
    • 👰Envi-Weddings
      • Inventory Setup
      • Starting Info
      • Manually Removing Data
      • Commands
      • Config File
    • 🎅Envi Xmas-Weapons (Standalone)
      • Inventory Setup
      • Config File
    • 🗡️Envi-Zombie-Weapons (Standalone)
      • Inventory Setup
    • 🧟‍♂️Envi-Zombies
Powered by GitBook
On this page
  1. Premium Scripts
  2. Envi-Ejector-Seats

Config File

Config = {}
Config.Debug = false -- (when true - anyone can use the commands below to install/uninstall/check for ejector seats)

Config.NumberOfUses = false -- (how many times the ejector seat can be used before you need to install a new one) false = unlimited uses

Config.Interactions = {
    Target = true,    -- (if true - Mechanics can use the Target (ox, qb-target etc) to install/uninstall ejector seats)
    ItemUse = true,   -- (if true - you can use the items WHILE INSIDE A VEHICLE to install/uninstall ejector seats)
    Command = false   -- (if true - you can use the commands WHILE INSIDE A VEHICLE to install/uninstall ejector seats)
}

Config.Commands = {
    Install = 'installEjectorSeats',
    Uninstall = 'uninstallEjectorSeats',
    Check = 'checkEjectorSeats'
}

Config.Items = {
    Install = 'ejector_seat',
    Uninstall = 'mech_toolkit'
}

Config.JobInstall = false    -- if true - only the jobs below can install ejector seats
Config.InstallJobs = { 'mechanic', 'mechanic2' }

Config.InstallTime = 10 -- Seconds

Config.OnlyDriverCanUse = false  -- if true, only the driver can use the ejector seats

Config.Hotkeys = {
    ['ejectMe'] = {label = 'Eject Me', key = 'NUMPAD0'},
    ['ejectDriver'] = {label = 'Eject Driver', key = 'NUMPAD1'},
    ['ejectPassengerSeat2'] = {label = 'Eject Passenger Seat 2', key = 'NUMPAD2'},
    ['ejectPassengerSeat3'] = {label = 'Eject Passenger Seat 3', key = 'NUMPAD3'},
    ['ejectPassengerSeat4'] = {label = 'Eject Passenger Seat 4', key = 'NUMPAD4'},
    ['ejectPassengerSeat5'] = {label = 'Eject Passenger Seat 5', key = 'NUMPAD5'},
    ['ejectPassengerSeat6'] = {label = 'Eject Passenger Seat 6', key = 'NUMPAD6'},
    ['ejectPassengerSeat7'] = {label = 'Eject Passenger Seat 7', key = 'NUMPAD7'},
    ['ejectPassengerSeat8'] = {label = 'Eject Passenger Seat 8', key = 'NUMPAD8'},
}

-- NEW--
Config.AutoGiveParachute = true -- If true, the player will be given a parachute when are ejected

Config.NoChairCollision = true -- If true, the collsion of the chair will be disabled (for those with weird collision issue)

Config.CannotEjectDriver = false -- If true, the driver of the vehicle cannot be ejected by other passengers

Config.Lang = {
    NoSkills = 'You don\'t have the required skills to do this!',
    AlreadyInstalled = 'This vehicle already has ejector seats installed!',
    NotInstalled = 'This vehicle does not have ejector seats installed!',
    HasEjectorSeats = 'This vehicle has ejector seats installed!',
    NoEjectorSeats = 'This vehicle has no ejector seats installed!',
    TargetInstall = 'Install Ejector Seats',
    TargetUninstall = 'Uninstall Ejector Seats',
    NotOwnedVehicle = 'This is not an owned vehicle!',
    NoInstallItem = 'You do not have the required item to install ejector seats!',
    InstallSuccess = 'Successfully installed ejector seats!',
    InstallFailed = 'Failed to install ejector seats!',
    NoUninstallItem = 'You do not have the required item to uninstall ejector seats!',
    UninstallSuccess = 'Successfully uninstalled ejector seats!',
    UninstallFailed = 'Failed to uninstall ejector seats!'
}
PreviousEditable FunctionalityNextEnvi-Flamethrower (Standalone)

Last updated 25 days ago

📒
💺