X3D Carry config
Change values in the form, then copy one topic or the whole file into your server.
Download with my settingsGeneral
Docs ↗Config.FrameworkFramework: 'auto' (ESX when present, otherwise standalone) | 'esx' | 'standalone'
Config.LocaleIn-game language: 'th' or 'en' (edit the texts in locales.lua)
Config.CommandCommand name of this resource (one command): /x3dcarry opens the menu, /x3dcarry piggyback calls a style directly
Do not use a short name like 'carry': if another script owns it FiveM silently drops ours, key binds stop working and no error shows
Config.MenuKeyKey that opens the carry menu ('' = no key, use /x3dcarry instead)
Config.RangeHow close you must be to start a carry (metres)
Config.MaxDistMax distance between the pair while carrying; beyond it the server releases them
Config.RequestTTLHow many ms a carry request stays open before it expires
Config.CooldownAnti-spam: one player may request a carry once every this many ms
Config.ForceAceadd_ace group.admin x3d_carry.force allow
ACE permission, works on every framework; put it in server.cfg: add_ace group.admin x3d_carry.force allow
Set to false to disable
Config.ForceGroupsAdmin groups (ESX only; on standalone see Framework.IsAdmin in addons/framework/extra_server.lua)
e.g. { admin = true }
Config.ForceJobsJobs that carry without asking (ESX only; standalone has no standard job system)
e.g. { police = true }
Config.CorpseCorpse carry, double-death guard =====
The game cannot animate a dead ped, so the body is fake-revived with NetworkResurrectLocalPlayer first
and a corpse animation is played over it; that window is where other systems may kill it again
fakeHealthHealth given to the body while carried (must be > 0 or the game counts it as dead)
healthGuardGuards against other scripts setting health to 0 directly: it restores health every guardInterval ms while carried
enable the health restore
guardIntervalcheck interval (ms)
liftOnPickupMetres to lift the body before the fake revive (keeps it from sinking into the floor)
liftOnDropMetres to lift the body on drop, so it has room to fall
ragdollOnDropForce the body to ragdoll onto the ground on drop (otherwise it stands stiff) / ragdollMs = how long, in ms
ragdollMsท่าอุ้ม — เพิ่มท่าใหม่ได้ ระบบสร้างเมนู + คำสั่งให้เองทุกท่า
Docs ↗Config.Styles| # | Name | offset | Options | ||
|---|---|---|---|---|---|
| 1 | dragdeath | ||||
| 2 | carrypeople | ||||
| 3 | piggyback |
Config.CarrierDelayDelay in ms before the carrier starts the animation so the carried body can attach first
Lower than this and the paired animation drifts (floating piggyback / dropped fireman carry)
Config.KeysMenu keys =====
FiveM control ids, same set as esx_menu_default: up/down arrows, Enter, Backspace
updownselectback