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
  • Add to items.lua
  • Add to weapons.lua
  1. Premium Scripts
  2. Envi Xmas-Weapons (Standalone)

Inventory Setup

Add to items.lua

Weapons do not get added to items.lua for ox_inventory

    ['weapon_candypistol']                = {['name'] = 'weapon_candypistol',         ['label'] = 'Candy Pistol',          ['weight'] = 3000, ['type'] = 'weapon', ['ammotype'] = 'AMMO_PISTOL',  ['image'] = 'images/weapon_candypistol.png',         ['unique'] = true, ['useable'] = true, ['description'] = 'A Powerful Candy Cane that packs a punch'},
    ['weapon_candyshotgun']               = {['name'] = 'weapon_candyshotgun',        ['label'] = 'Candy Shotgun',         ['weight'] = 3000, ['type'] = 'weapon', ['ammotype'] = 'AMMO_SHOTGUN', ['image'] = 'images/weapon_candyshotgun.png',        ['unique'] = true, ['useable'] = true, ['description'] = 'A Powerful Candy Shotgun that packs a punch'},
    ['weapon_snowlauncher']               = {['name'] = 'weapon_snowlauncher',        ['label'] = 'Snow Launcher',         ['weight'] = 3000, ['type'] = 'weapon', ['ammotype'] = 'AMMO_GRENADE', ['image'] = 'images/weapon_snowlauncher.png',        ['unique'] = true, ['useable'] = true, ['description'] = 'A Wonderful Snow Launcher for your snowballs'},
    ['weapon_snowlauncher2']              = {['name'] = 'weapon_snowlauncher2',       ['label'] = 'Snow Launcher MK2',     ['weight'] = 3000, ['type'] = 'weapon', ['ammotype'] = 'AMMO_GRENADE', ['image'] = 'images/weapon_snowlauncher2.png',       ['unique'] = true, ['useable'] = true, ['description'] = 'A Wonderful Snow Launcher MK2 for your snowballs'},
    ['weapon_xmaspistol']                 = {['name'] = 'weapon_xmaspistol',          ['label'] = 'Merry Pistol',          ['weight'] = 3000, ['type'] = 'weapon', ['ammotype'] = 'AMMO_PISTOL',  ['image'] = 'images/weapon_xmaspistol.png',          ['unique'] = true, ['useable'] = true, ['description'] = 'A Merry Pistol for your season activities'},

Add to weapons.lua

['WEAPON_SNOWLAUNCHER'] = {
    label = 'Snowball Launcher',
    weight = 1000,
    durability = 0.03,
    ammoname = 'ammo-grenade',
},
['WEAPON_SNOWLAUNCHER2'] = {
    label = 'Snowball Launcher',
    weight = 1000,
    durability = 0.03,
    ammoname = 'ammo-grenade',
},
['WEAPON_CANDYPISTOL'] = {
    label = 'Candy Pistol',
    weight = 800,
    durability = 0.03,
    ammoname = 'ammo-9',
},
['WEAPON_CANDYSHOTGUN'] = {
    label = 'Candy Shotgun', 
    weight = 1200,
    durability = 0.03,
    ammoname = 'ammo-shotgun',
},
['WEAPON_XMASPISTOL'] = {
    label = 'Christmas Pistol',
    weight = 800,
    durability = 0.03,
    ammoname = 'ammo-9',
},

[`weapon_candypistol`]              = {['name'] = 'weapon_candypistol',         ['label'] = 'Candy Pistol',         ['caliber'] = '9x19mm Parabellum',          ['weapontype'] = 'Pistol',          ['ammotype'] = 'AMMO_PISTOL',           ['damagereason'] = 'Pistoled / Blasted / Plugged / Bust a cap in'},
[`weapon_candyshotgun`]             = {['name'] = 'weapon_candyshotgun',        ['label'] = 'Candy Shotgun',        ['caliber'] = '12 Gauge',                   ['weapontype'] = 'Shotgun',         ['ammotype'] = 'AMMO_SHOTGUN',          ['damagereason'] = 'Devastated / Pulverized / Shotgunned'},
[`weapon_snowlauncher`]             = {['name'] = 'weapon_snowlauncher',        ['label'] = 'Snow Launcher',        ['caliber'] = '40mm Grenade',               ['weapontype'] = 'Heavy Weapons',   ['ammotype'] = 'AMMO_GRENADELAUNCHER',  ['damagereason'] = 'Killed / Exploded / Obliterated / Destroyed / Erased / Annihilated'},
[`weapon_snowlauncher2`]            = {['name'] = 'weapon_snowlauncher2',       ['label'] = 'Snow Launcher MK2',    ['caliber'] = '40mm Grenade',               ['weapontype'] = 'Heavy Weapons',   ['ammotype'] = 'AMMO_GRENADELAUNCHER',  ['damagereason'] = 'Killed / Exploded / Obliterated / Destroyed / Erased / Annihilated'},
[`weapon_xmaspistol`]               = {['name'] = 'weapon_xmaspistol',          ['label'] = 'Merry Pistol',         ['caliber'] = '9x19mm Parabellum',          ['weapontype'] = 'Pistol',          ['ammotype'] = 'AMMO_PISTOL',           ['damagereason'] = 'Pistoled / Blasted / Plugged / Bust a cap in'},
PreviousEnvi Xmas-Weapons (Standalone)NextConfig File

Last updated 20 days ago

📒
🎅