[{"data":1,"prerenderedAt":96},["ShallowReactive",2],{"site":3,"config-slug-site":15,"config-product-en-x3d-damage":21,"config-public-x3d-damage":88},{"site":4,"contact":10,"seo":13,"payment":14},{"name":5,"host":6,"default_locale":7,"locales":8},"X3D Developer","fivem.x3d-developer.com","th",[7,9],"en",{"discord_invite":11,"email":12,"line":12},"https:\u002F\u002Fdiscord.gg\u002FNA5kPVynFv","",{"google_site_verification":12,"bing_site_verification":12},{"bank_name":12,"account_name":12,"account_no":12,"promptpay_id":12},{"site":16,"contact":18,"seo":19,"payment":20},{"name":5,"host":6,"default_locale":7,"locales":17},[7,9],{"discord_invite":11,"email":12,"line":12},{"google_site_verification":12,"bing_site_verification":12},{"bank_name":12,"account_name":12,"account_no":12,"promptpay_id":12},{"id":22,"slug":23,"name":24,"summary":25,"price_thb":26,"license_mode":27,"cover_key":28,"cover_url":29,"category_slugs":30,"tags":33,"latest_version":59,"latest_released_at":60,"published_at":61,"has_docs":62,"config":63,"rent_price_satang":64,"description_md":65,"docs_md":66,"seo_title":67,"seo_description":68,"media":69,"versions":81},"d82d8eb1-ed6a-43e3-86ef-24e45ae2b39d","x3d-damage","X3D Damage","Set every weapon's damage yourself, with bleed, slow, stun, knockdown and lifesteal effects. Weapon skins supported. ESX or standalone.",0,"none","public\u002Fproducts\u002Fx3d-damage\u002Fcover\u002F8ce8864c16843fe6.jpg","\u002Fapi\u002Fv1\u002Fmedia\u002Fpublic\u002Fproducts\u002Fx3d-damage\u002Fcover\u002F8ce8864c16843fe6.jpg",[31,32],"gameplay","gangs",[34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58],"weapon damage","ดาเมจอาวุธ","ดาเมจปืน","fivem weapon damage","damage script","headshot","headshot kill","เลือดออก","bleed","สตัน","stun","lifesteal","ดูดเลือด","เมืองปืน","pvp","esx","standalone","ฟรี","free","ทะลุเกราะ","ดาเมจเสริม","ปิดท่าต่อยหนัก","ปรับดาเมจ","ทำให้ช้า","กันกระโดดหลบ","1.0.2","2026-10-12T17:14:19.289254Z","2026-10-10T11:45:52.279629Z",true,"public",null,"Set every weapon's damage yourself and give each weapon its own effects — **ESX or standalone**, no ox_lib required.\n\n---\n\n## Features\n\n- [+] Easy to set up: tune everything in config, or edit it from the web builder\n- [+] Damage per weapon, headshot kills, and heavy melee can be switched off\n- [+] Bleed with damage per tick, tick count and interval, stopping when healed\n- [+] Slow, stun and knockdown with blur, set per weapon\n- [+] Lifesteal with heal amount and chance you set, range and cooldown checked on server\n- [+] Bonus damage and armour pierce, with a minimum armour you set\n- [+] Every effect has a 0-1 chance and can trigger on headshots only\n- [+] Skin weapons use their base weapon's damage automatically\n- [+] Holding jump blocks attacking for a while, with the time you set\n- [+] Works with ESX or standalone, no ox_lib required\n- [+] Connect other scripts through addons\u002F\n\n---\n\n## What is in it\n\n| Part | What it does |\n|---|---|\n| **Per-weapon damage** | Damage per hit, headshot kills, no heavy melee |\n| **Effects** | Bleed (stops when healed), slow, stun, knockdown with blur, bonus damage, armour pierce, lifesteal |\n| **Lifesteal** | The server checks range, the weapon in hand and a cooldown before healing the attacker |\n| **Weapon skins** | Skin weapons use their base weapon's damage automatically (works with X3D Inventory) |\n| **Helmets \u002F armour** | `Hooks.OnHeadshot` lets your helmet script block headshots |\n| **Jump-dodge guard** | Holding jump blocks attacking for a while |\n\nThai and English text, picked with `Config.Locale`.\n","## Installation\r\n\r\n1. Drop `x3d_damage` into `resources\u002F` and add `ensure x3d_damage` to `server.cfg`.\r\n2. Edit `config\u002Fweapons.lua`. Weapons not listed keep the game's own damage.\r\n\r\n## Config (`config.lua`)\r\n\r\n| Option | What it does |\r\n|---|---|\r\n| `Config.Framework` | `'auto'` \u002F `'esx'` \u002F `'standalone'` |\r\n| `Config.Locale` | `'th'` or `'en'` |\r\n| `Config.Aliases` | `{ SKIN = 'BASE' }` — a skin weapon uses its base weapon's row. X3D Inventory publishes its skins in `GlobalState.x3dWeaponBase` automatically |\r\n| `Config.Bleed.stopOnHeal` | Stop bleeding as soon as health goes up |\r\n| `Config.Bleed.screenFx` | Screen effect per bleed tick (`''` = none) |\r\n| `Config.Lifesteal.range` \u002F `.cooldownMs` | Server checks for lifesteal |\r\n| `Config.Controls.disableStealth` | Disable the stealth\u002Fduck control |\r\n| `Config.Controls.jumpHoldMs` \u002F `.jumpBlockMs` | Holding jump `jumpHoldMs` blocks attacking until `jumpBlockMs` after the hold started (0 = off) |\r\n\r\n## Weapon rows (`config\u002Fweapons.lua`)\r\n\r\n`damage`, `headshotKill`, `blockInstantKill` (no heavy melee), `blockHit` (same as `blockInstantKill`; kept for imported tables), `effects = { ... }`. Every effect takes an optional `chance` (0–1) and `headshotOnly`.\r\n\r\n| Effect | Parameters |\r\n|---|---|\r\n| `knockdown` | `pulses`, `headshotPulses`, `ejectBelowSpeed` (pull out of slow vehicles) |\r\n| `bonus` | `damage` |\r\n| `pierce` | `damage`, `minArmor` — damage straight off health when armour ≥ minArmor |\r\n| `lifesteal` | `heal`, `healChance` |\r\n| `bleed` | `perTick`, `ticks`, `intervalMs` |\r\n| `slow` | `mult` (0–1), `seconds` |\r\n| `stun` | `seconds`, `ragdollMs` |\r\n\r\n## Hooks (`addons\u002Fhooks\u002Fclient.lua`)\r\n\r\n`Hooks.OnHeadshot(ped)` — return `true` to block a headshot (e.g. a helmet):\r\n\r\n```lua\r\nfunction Hooks.OnHeadshot(ped)\r\n    if exports.my_items:isHelmetOn() then exports.my_items:helmetBroken() return true end\r\n    return false\r\nend\r\n```\r\n\r\n## Exports\r\n\r\nClient: `exports.x3d_damage:StopBleeding()`.\r\n\r\n## Note\r\n\r\nLike every client-side damage script, the victim's own client applies the damage; pair it with an anticheat health check.\r\n","Free FiveM weapon damage — bleed, stun, lifesteal","A weapon damage system for ESX or standalone: per-weapon damage, headshot kills, heavy-melee blocks and bleed, slow, stun, knockdown and lifesteal effects.",[70,73,75,77,79],{"kind":71,"url":72},"image","\u002Fapi\u002Fv1\u002Fmedia\u002Fpublic\u002Fproducts\u002Fx3d-damage\u002Fmedia\u002F1bf9e48451e6ca22.png",{"kind":71,"url":74},"\u002Fapi\u002Fv1\u002Fmedia\u002Fpublic\u002Fproducts\u002Fx3d-damage\u002Fmedia\u002F53c641a9fed259a4.png",{"kind":71,"url":76},"\u002Fapi\u002Fv1\u002Fmedia\u002Fpublic\u002Fproducts\u002Fx3d-damage\u002Fmedia\u002F4008f0957016ee34.png",{"kind":71,"url":78},"\u002Fapi\u002Fv1\u002Fmedia\u002Fpublic\u002Fproducts\u002Fx3d-damage\u002Fmedia\u002F589b6cb691527d84.png",{"kind":71,"url":80},"\u002Fapi\u002Fv1\u002Fmedia\u002Fpublic\u002Fproducts\u002Fx3d-damage\u002Fmedia\u002F2ebf651a9a3caa2d.png",[82,84],{"version":59,"released_at":60,"changelog_md":83},"### Changed\n\n- Store images now carry English captions for the English store page",{"version":85,"released_at":86,"changelog_md":87},"1.0.0","2026-10-10T11:45:52.253451Z","### Added\r\n- Per-weapon damage table (`config\u002Fweapons.lua`): `damage`, `headshotKill`, `blockInstantKill` (no heavy melee), `blockHit` (same, for imported tables); unlisted weapons keep the game's damage\r\n- Effects per weapon with an optional `chance`: `knockdown` (ragdoll + blur, optional vehicle eject), `bonus` (extra damage), `pierce` (damage through armour), `lifesteal` (server-checked range, weapon in hand and cooldown), `bleed` (stops on any heal; `StopBleeding()` export), `slow`, `stun`\r\n- Weapon skins: `Config.Aliases` and `GlobalState.x3dWeaponBase` (published by x3d_inventory) make a skin weapon use its base weapon's damage\r\n- `Hooks.OnHeadshot` for helmets or armour from any script\r\n- Jump-hold guard and stealth disable (`Config.Controls`)\r\n- Thai and English",{"slug":23,"version":59,"latest_version":59,"files":89,"options":64},[90,93],{"path":91,"content":92},"config.lua","Config = {}\r\n\r\n-- ===== ทั่วไป \u002F General =====\r\n\r\n-- เฟรมเวิร์ก: 'auto' หาเอง · 'esx' · 'standalone'\r\n-- Framework: 'auto' detects · 'esx' · 'standalone'\r\nConfig.Framework = 'auto'\r\n\r\n-- ภาษาข้อความ ('th' หรือ 'en')\r\n-- Message language ('th' or 'en')\r\nConfig.Locale = 'th'\r\n\r\n-- ===== อาวุธสกิน \u002F Skin weapons =====\r\n\r\n-- อาวุธสกิน → อาวุธหลัก (ใช้ดาเมจของอาวุธหลัก) · x3d_inventory ประกาศให้เองผ่าน GlobalState.x3dWeaponBase\r\n-- Skin weapon → base weapon (uses the base's damage) · x3d_inventory also publishes GlobalState.x3dWeaponBase\r\nConfig.Aliases = {\r\n    -- WEAPON_GOLDPOOLCUE = 'WEAPON_POOLCUE',\r\n}\r\n\r\n-- ===== เลือดออก \u002F Bleed =====\r\nConfig.Bleed = {\r\n    -- หยุดเลือดออกทันทีเมื่อเลือดเพิ่ม (ใช้ผ้าพันแผล\u002Fยา\u002Fชุบ)\r\n    -- Stop bleeding as soon as health goes up (bandage \u002F medicine \u002F revive)\r\n    stopOnHeal = true,\r\n    -- เอฟเฟกต์จอตอนเลือดออกแต่ละครั้ง ('' = ไม่มี)\r\n    -- Screen effect on each bleed tick ('' = none)\r\n    screenFx = 'Rampage',\r\n}\r\n\r\n-- ===== ดูดเลือด \u002F Lifesteal =====\r\nConfig.Lifesteal = {\r\n    -- ระยะสูงสุดระหว่างคนตีกับคนโดน (เมตร) — เช็กที่ server\r\n    -- Max distance between attacker and victim (metres) — checked on the server\r\n    range = 5.0,\r\n    -- กันดูดเลือดถี่เกิน (มิลลิวินาที ต่อคนตี)\r\n    -- Cooldown per attacker (milliseconds)\r\n    cooldownMs = 1000,\r\n}\r\n\r\n-- ===== ปุ่มควบคุม \u002F Controls =====\r\nConfig.Controls = {\r\n    -- ปิดปุ่มย่อง (control 36)\r\n    -- Disable stealth\u002Fduck (control 36)\r\n    disableStealth = true,\r\n    -- กดกระโดดค้างนานเท่านี้ (ms) = ห้ามโจมตีชั่วคราว (กันกระโดดหลบตอนต่อย) · 0 = ปิด\r\n    -- Holding jump this long (ms) blocks attacking for a while (stops jump-dodging) · 0 = off\r\n    jumpHoldMs = 5000,\r\n    -- ห้ามโจมตีจนครบเวลานี้ นับจากตอนเริ่มกดค้าง (ms) · 6000 กับกดค้าง 5000 = ห้ามต่ออีกราว 1 วิ\r\n    -- Attacking stays blocked until this long after the hold STARTED (ms) · 6000 with a 5000 hold ≈ 1 s more\r\n    jumpBlockMs = 6000,\r\n}\r\n",{"path":94,"content":95},"config\u002Fweapons.lua","-- ===== ดาเมจต่ออาวุธ \u002F Damage per weapon =====\r\n\r\n-- ตารางดาเมจต่ออาวุธ — อาวุธที่ไม่อยู่ในตาราง = ดาเมจปกติของเกม\r\n-- Damage per weapon — weapons not listed keep the game's own damage\r\n--   damage            ดาเมจต่อครั้ง \u002F damage per hit\r\n--   headshotKill      โดนหัว = ตาย \u002F headshot kills\r\n--   blockInstantKill  ปิดท่าต่อยหนัก (ปุ่ม 140-142) \u002F disables heavy melee (controls 140-142)\r\n--   blockHit          เหมือน blockInstantKill (มีไว้ให้ตารางเก่าที่ย้ายมา) \u002F same as blockInstantKill (kept for imported tables)\r\n--   effects           ดูชนิดใน docs: knockdown bonus pierce lifesteal bleed slow stun\r\n--                     see docs for types: knockdown bonus pierce lifesteal bleed slow stun\r\nConfig.Weapons = {\r\n    WEAPON_KNIFE      = { damage = 30 },\r\n    WEAPON_BAT        = { damage = 14 },\r\n    WEAPON_KNUCKLE    = { damage = 10, effects = { { type = 'bleed', chance = 0.25, perTick = 4, ticks = 5, intervalMs = 1000 } } },\r\n    WEAPON_MACHETE    = { damage = 28, effects = { { type = 'slow', chance = 0.3, mult = 0.6, seconds = 3 } } },\r\n    WEAPON_STUNGUN    = { damage = 0.000001, blockInstantKill = true,\r\n                          effects = { { type = 'knockdown', pulses = 15, headshotPulses = 20 } } },\r\n    WEAPON_NIGHTSTICK = { damage = 45, effects = { { type = 'stun', chance = 0.2, seconds = 2, ragdollMs = 1000 } } },\r\n}\r\n",1792316314936]