PixelCraft Official Docs
  • Welcome
  • Information
    • Discord Roles
    • How to update your asset
    • FiveM Asset Escrow System
  • Assets and Guides
    • PC-Crafting-V2
      • Installation
      • Configuration
        • Inventory System
        • Core Framework
        • Language
        • EXP Enabled
        • Whitelisting Players
        • Whitelisted Admins
        • Weapon Damage Multipliers
        • Weapon Parts Configuration
        • Crafting & Repair Experience
        • Crafting Locations
        • Database Setup
        • Custom Weapons
        • Crafting Recipes
        • Attachments
      • Troubleshooting
      • Commands
      • Support
    • PC-Security
      • Installation
      • Configuration
        • Job Routes
        • Level Thresholds
        • Level-Specific Configurations
        • Damage Threshold
        • Police Alert
        • Security Shop Items
        • Criminal Rewards
        • Blips
      • Support
Powered by GitBook
On this page
  1. Assets and Guides
  2. PC-Crafting-V2
  3. Configuration

Weapon Damage Multipliers

  • Purpose: Controls the rate at which weapons degrade with each shot. Adjust these values according to the values in your server.

  • Adjusting Values: Higher values lead to faster weapon degradation.

  • Example:

    Config.WeaponDamageMultiplier = {
        ["weapon_pistol50"] = 0.15, -- Degrades by 0.15 per shot
        ["weapon_pistol"] = 0.10,   -- Degrades by 0.10 per shot
        -- Add more weapons as needed
    }
PreviousWhitelisted AdminsNextWeapon Parts Configuration

Last updated 9 months ago