X3D Use Item config
Change values in the form, then copy one topic or the whole file into your server.
Download with my settingsGeneral
Config.FrameworkFramework: 'auto' detects es_extended · 'esx' forces ESX · 'standalone' uses no framework
Config.LocaleLanguage of every message ('th' or 'en') · texts live in locales.lua
Config.ReviveEventConfig.ReviveEvent = 'esx_ambulancejob:revive'
The revive item (aed) asks your death-screen script to wake the player up
false (default) = hook into nothing: heals to full and stands the player up by itself
To use your own death-screen script, put its event name, e.g.
Config.ReviveEvent = 'esx_ambulancejob:revive'
Config.RestartLockStatePre-restart economy lock (e.g. esx_restart) — put the GlobalState key that system uses
It sets .lock = true near a restart, e.g. Config.RestartLockState = 'restartlock'
Not using one? leave false (no lock)
Config.CheckBagSpaceCheck bag space before opening a box — put the inventory resource that has export CheckItemFit(src, item, count)
e.g. Config.CheckBagSpace = 'ox_inventory' · false = open straight away (overflow is the inventory's job)
Config.HealAnimanimation while healing
dictclipConfig.HealPropprop held while healing
modelboneoffsetrotHealing items: pct = share healed (0.20 = 20%) · duration = time (ms) · prop = hold the prop or not
Config.HealHealing items: pct = share healed (0.20 = 20%) · duration = time (ms) · prop = hold the prop or not
e.g. ['medkit'] = { pct = 0.50, duration = 5000, prop = true }
| # | Name | pct | duration | prop | Options |
|---|---|---|---|---|---|
| 1 | painkiller | ||||
| 2 | bandage |
CPR animation · pumpInterval = time between compressions (ms) and 1 more
Config.ReviveAnimCPR animation · pumpInterval = time between compressions (ms)
dictclippumpIntervalConfig.ReviveRadiusradius (meters) to look for a downed player
Revive items: duration = CPR time (ms)
Config.ReviveRevive items: duration = CPR time (ms)
e.g. ['aed_mini'] = { duration = 7000 }
| # | Name | duration | Options |
|---|---|---|---|
| 1 | aed | ||
| 2 | aed_super |
repair animation
Config.FixAnimrepair animation
dictclipRepair items: duration = time (ms) · radius = reach to find the car (meters)
Config.FixRepair items: duration = time (ms) · radius = reach to find the car (meters)
e.g. ['fixkit_pro'] = { duration = 8000, radius = 5.0 }
| # | Name | duration | radius | Options |
|---|---|---|---|---|
| 1 | fixkit |
reload animation and 1 more
Config.AmmoAnimreload animation
dictclipmsConfig.MaxAmmomax ammo per weapon (cannot top up past this)
Ammo items: amount = rounds added · weapons = limit to these weapons (omit = any weapon)
Config.AmmoAmmo items: amount = rounds added · weapons = limit to these weapons (omit = any weapon)
e.g. ['ammo_box'] = { amount = 60 }
| # | Name | amount | weapons | Options |
|---|---|---|---|---|
| 1 | speed_loader | |||
| 2 | ammo_box |
max boxes opened in one use
Config.BoxMaxPerUsemax boxes opened in one use
Boxes: box item = list of { item received, count } per box
Config.BoxesBoxes: box item = list of { item received, count } per box
e.g. ['box_cement'] = { { 'cement', 100 } }
| # | Name | Options | |
|---|---|---|---|
| 1 | box_cement | ||
| 2 | box_ingot_gold | ||
| 3 | box_ingot_steel | ||
| 4 | box_ingot_copper | ||
| 5 | box_wood_plank | ||
| 6 | box_gem_diamond | ||
| 7 | box_gem_ruby | ||
| 8 | fight_pack |
box-opening animation
Config.BoxAnimbox-opening animation
dictclipmseat and drink animations: ms = time
Config.ConsumeAnimseat and drink animations: ms = time
| # | Name | dict | clip | ms | Options |
|---|---|---|---|---|---|
| 1 | eat | ||||
| 2 | drink |
Food: anim = animation · heal = share of health restored · effects = buffs { kind, value, seconds }
Config.FoodFood: anim = animation · heal = share of health restored · effects = buffs { kind, value, seconds }
e.g. ['bread'] = { anim = 'eat', heal = 0.05, effects = { { 'regen', 1, 60 } } }
| # | Name | anim | heal | effects | Options |
|---|---|---|---|---|---|
| 1 | food_lunchbox | ||||
| 2 | drink_water | ||||
| 3 | milk | ||||
| 4 | meal_basic | ||||
| 5 | meal_hearty | ||||
| 6 | meal_feast |
Armor and helmet =====
Config.ArmorArmor and helmet =====
| # | Name | item | armor | zoneExport | Options | ||
|---|---|---|---|---|---|---|---|
| 1 | vest | ||||||
| 2 | rental | ||||||
| 3 | helmet |