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-Items

Config File

Config = {}

Config.Throwables = {
    ['frisbee'] = {  -- item names MUST be this
        offset = {0.2, 0.0, -0.05, -140.75, -190.4, 180.0},
        -- dont touch below
        active = nil,
        entity = nil,
        name = "frisbee",
        model = 'p_ld_frisbee_01',
    },
    ['frisbee2'] = {  -- item names MUST be this
        offset = {0.2, 0.0, -0.05, -140.75, -190.4, 180.0},
        -- dont touch below
        active = nil,
        entity = nil,
        name = "frisbee2",
        model = 'frisbee',
    }
}

Config.Sparklers = {
    ['sparkler'] = {
        model = 'sparkler',
        offsets = {
            x = 0.06,
            y = 0.0,
            z = 0.0,
            rx = 100.0,
            ry = 190.0,
            rz = 0.0,
        },
        ptfx = {
            dict = 'scr_stunts',
            name = 'scr_stunts_bomb_fuse',
            scale = 0.50,
        },
    },
    ['green_sparkler'] = {
        model = 'green_sparkler',
        offsets = {
            x = 0.06,
            y = 0.0,
            z = 0.0,
            rx = 100.0,
            ry = 190.0,
            rz = 0.0,
        },
        ptfx = {
            dict = 'scr_stunts',
            name = 'scr_stunts_bomb_fuse',
            scale = 0.50,
        },
        extraFX = {
            dict = 'proj_xmas_firework',
            name = 'scr_firework_xmas_repeat_burst_rgw',
            scale = 0.007,
            chance = 100,    -- how often the extra effect will play
        },
    },
    ['blue_sparkler'] = {
        model = 'blue_sparkler',
        offsets = {
            x = 0.06,
            y = 0.0,
            z = 0.0,
            rx = 100.0,
            ry = 190.0,
            rz = 0.0,
        },
        ptfx = {
            dict = 'scr_stunts',
            name = 'scr_stunts_bomb_fuse',
            scale = 0.50,
        },
        extraFX = {
            dict = 'cut_exile1',
            name = 'ent_amb_sparking_wires_sm_sp',
            scale = 0.1,
            chance = 100,    -- how often the extra effect will play
        },
    },
    ['pink_sparkler'] = {
        model = 'pink_sparkler',
        offsets = {
            x = 0.06,
            y = 0.0,
            z = 0.0,
            rx = 100.0,
            ry = 190.0,
            rz = 0.0,
        },
        ptfx = {    -- must be a LOOPED particle effect
            dict = 'scr_stunts',
            name = 'scr_stunts_bomb_fuse',
            scale = 0.50,
        },
        extraFX = {   -- must be a NON-LOOPED particle effect
            dict = 'scr_rcbarry2',
            name = 'scr_clown_bul',
            scale = 0.2,
            chance = 20,    -- how often the extra effect will play
        },
    },
    ['american_sparkler'] = {
        model = 'american_sparkler',
        offsets = {
            x = 0.06,
            y = 0.0,
            z = 0.0,
            rx = 100.0,
            ry = 190.0,
            rz = 0.0,
        },
        ptfx = {
            dict = 'core',
            name = 'proj_flare_fuse',
            scale = 0.50,
        },
        extraFX = {   -- must be a NON-LOOPED particle effect
        dict = 'proj_indep_firework_v2',
        name = 'scr_firework_indep_ring_burst_rwb',
        scale = 0.05,
        chance = 100,    -- how often the extra effect will play
        },
    },
}

Config.LargeSparklers = {
    ['large_sparkler'] = {
        model = 'large_sparkler',
        offsets = {
            x = 0.05,
            y = 0.1,
            z = 0.0,
            rx = 100.0,
            ry = 190.0,
            rz = 0.0,
        },
        ptfx = {
            dict = 'scr_stunts',
            name = 'scr_stunts_bomb_fuse',
            scale = 0.80,
            makesTrails = true,   -- will leave a trail-off effect behind you with certain particle effects - this is actually caused by a bug with effects colliding with props, turning this to true keeps collision on the prop the create this effect
            position = {
                x = 0.00,
                y = 0.00,
                z = 0.50,
            },
        },
        extraFX = {
            dict = 'des_bigjobdrill',
            name = 'ent_ray_drill_start_sparks',
            scale = 2.0,
            chance = 20,    -- how often the extra effect will play
        },
    },
    ['fire_torch'] = {
        model = 'bzzz_prop_torch_fire001',
        fireProof = false,  -- To avoid setting youself on fire while holding a fire particle (Be aware that this COULD be exploitable in some cases)
        offsets = {
            x = -0.03,
            y = 0.40,
            z = 0.10,
            rx = 100.0,
            ry = 190.0,
            rz = 0.0,
        },
        ptfx = {
            dict = 'cut_exile1',
            name = 'cs_ex1_cargo_fire',
            scale = 0.30,
            position = {
                x = 0.00,
                y = 0.00,
                z = 0.37,
            },
        },
    },
    ['large_usa_sparkler'] = {
        model = 'large_american_sparkler',
        offsets = {
            x = 0.05,
            y = 0.1,
            z = 0.0,
            rx = 100.0,
            ry = 190.0,
            rz = 0.0,
        },
        ptfx = {
            dict = 'core',
            name = 'proj_flare_fuse',
            scale = 0.7,
            position = {
                x = 0.00,
                y = 0.00,
                z = 0.50,
            },
        },
        extraFX = {   -- must be a NON-LOOPED particle effect
            dict = 'proj_indep_firework_v2',
            name = 'scr_firework_indep_ring_burst_rwb',
            scale = 0.15,
            chance = 100,    -- how often the extra effect will play
        },
        trailFX = {
            dict = 'core',
            name = 'veh_light_red_trail',
            scale = 1.0,
        },
    },
    ['large_green_sparkler'] = {
        model = 'large_green_sparkler',
        offsets = {
            x = 0.05,
            y = 0.1,
            z = 0.0,
            rx = 100.0,
            ry = 190.0,
            rz = 0.0,
        },
        ptfx = {
            dict = 'scr_stunts',
            name = 'scr_stunts_bomb_fuse',
            scale = 0.80,
            makesTrails = true,   -- will leave a trail-off effect behind you with certain particle effects - this is actually caused by a bug with effects colliding with props, turning this to true keeps collision on the prop the create this effect
            position = {
                x = 0.00,
                y = 0.00,
                z = 0.50,
            },
        },
        extraFX = {
            dict = 'proj_xmas_firework',
            name = 'scr_firework_xmas_repeat_burst_rgw',
            scale = 0.03,
            chance = 100,    -- how often the extra effect will play
        },
    },
    ['large_blue_sparkler'] = {
        model = 'large_blue_sparkler',
        offsets = {
            x = 0.05,
            y = 0.1,
            z = 0.0,
            rx = 100.0,
            ry = 190.0,
            rz = 0.0,
        },
        ptfx = {
            dict = 'scr_stunts',
            name = 'scr_stunts_bomb_fuse',
            scale = 0.80,
            makesTrails = true,   -- will leave a trail-off effect behind you with certain particle effects - this is actually caused by a bug with effects colliding with props, turning this to true keeps collision on the prop the create this effect
            position = {
                x = 0.00,
                y = 0.00,
                z = 0.50,
            },
        },
        extraFX = {
            dict = 'cut_exile1',
            name = 'ent_amb_sparking_wires_sm_sp',
            scale = 0.8,
            chance = 100,    -- how often the extra effect will play
        },
    },
    ['large_pink_sparkler'] = {
        model = 'large_pink_sparkler',
        fireProof = true,  -- To avoid setting youself on fire while holding a fire/ flare particle (Be aware that this COULD be exploitable in some cases)
        offsets = {
            x = 0.05,
            y = 0.1,
            z = 0.0,
            rx = 100.0,
            ry = 190.0,
            rz = 0.0,
        },
        ptfx = {
            dict = 'scr_stunts',
            name = 'scr_stunts_bomb_fuse',
            scale = 0.80,
            fireProof = true,  -- To avoid setting youself on fire while holding a fire particle (Be aware that this COULD be exploitable in some cases)
            makesTrails = true,   -- will leave a trail-off effect behind you with certain particle effects - this is actually caused by a bug with effects colliding with props, turning this to true keeps collision on the prop the create this effect
            position = {
                x = 0.00,
                y = 0.00,
                z = 0.50,
            },
        },
        extraFX = {   -- must be a NON-LOOPED particle effect
            dict = 'scr_rcbarry2',
            name = 'scr_clown_bul',
            scale = 1.0,
            chance = 25,    -- how often the extra effect will play
        },
    },
}
PreviousInventory SetupNextEnvi-Medic

Last updated 24 days ago

📒
🎇