⚖️DC Prop Attch 2
Step 1: Locate the OX Inventory Folder
Navigate to your FiveM server directory.
Open the
resourcesfolder.Find and open the ox_inventory resource folder.
Step 2: Open the data/items.lua File
data/items.lua FileInside the dc_propattach folder, go to:
dc_propattach/config.luaOpen
config.luausing Notepad++, VS Code, or another code editor.
Step 3: Add Your New Item
Add a new entry for your item inside the
config.luafile.Use the following format:
Config
--DJ's Eating Animations
{ label = 'Soda Idle', dict = 'anim@djs@drink@soda', anim = 'djs_drink_soda_idle', flags = 49 },
{ label = 'Soda Quick', dict = 'anim@djs@drink@soda', anim = 'djs_drink_soda_sip_quick', flags = 49 },
{ label = 'Soda Long', dict = 'anim@djs@drink@soda', anim = 'djs_drink_soda_sip_long', flags = 49 },
{ label = 'Chips Idle', dict = 'anim@djs@food@chips', anim = 'djs_food_chips_idle', flags = 49 },
{ label = 'Chips Single Bite', dict = 'anim@djs@food@chips', anim = 'djs_food_chips_bite_single', flags = 49 },
{ label = 'Chips Loop Bite', dict = 'anim@djs@food@chips', anim = 'djs_food_chips_bite_loop', flags = 49 },
{ label = 'Chips Handfull Loop Bite', dict = 'anim@djs@food@chips', anim = 'djs_food_chips_handful_loop', flags = 49 },
{ label = 'Shot Idle', dict = 'anim@djs@drink@shot', anim = 'djs_drink_shot_idle', flags = 49 },
{ label = 'Shot Quick', dict = 'anim@djs@drink@shot', anim = 'djs_drink_shot_quick', flags = 49 },
{ label = 'Coffee Idle', dict = 'anim@djs@drink@coffee', anim = 'djs_drink_coffee_idle', flags = 49 },
{ label = 'Coffee Quick', dict = 'anim@djs@drink@coffee', anim = 'djs_drink_coffee_sip_quick', flags = 49 },
{ label = 'Coffee Long', dict = 'anim@djs@drink@coffee', anim = 'djs_drink_coffee_sip_long', flags = 49 },
{ label = 'Plate Idle', dict = 'anim@djs@food@plated', anim = 'djs_food_plate_idle', flags = 49 },
{ label = 'Plate Single Bite', dict = 'anim@djs@food@plated', anim = 'djs_food_plate_bite_single', flags = 49 },
{ label = 'Plate Loop Bites', dict = 'anim@djs@food@plated', anim = 'djs_food_plate_bite_loop', flags = 49 },
{ label = 'Cone Idle', dict = 'anim@djs@food@cone', anim = 'djs_food_cone_idle', flags = 49 },
{ label = 'Cone Single Bite', dict = 'anim@djs@food@cone', anim = 'djs_food_cone_bite_single', flags = 49 },
{ label = 'Cone Single Lick', dict = 'anim@djs@food@cone', anim = 'djs_food_cone_lick_single', flags = 49 },
{ label = 'Cone Multi Lick', dict = 'anim@djs@food@cone', anim = 'djs_food_cone_lick_multiple', flags = 49 },
{ label = 'Cone Loop Lick', dict = 'anim@djs@food@cone', anim = 'djs_food_cone_lick_loop', flags = 49 },
{ label = 'Margarita Idle', dict = 'anim@djs@drink@margarita', anim = 'djs_drink_margarita_idle', flags = 49 },
{ label = 'Margarita Sip Quick', dict = 'anim@djs@drink@margarita', anim = 'djs_drink_margarita_sip_quick', flags = 49 },
{ label = 'Margarita Sip Long', dict = 'anim@djs@drink@margarita', anim = 'djs_drink_margarita_sip_long', flags = 49 },
{ label = 'Margarita Sip Loop', dict = 'anim@djs@drink@margarita', anim = 'djs_drink_margarita_sip_loop', flags = 49 },Step 4: Save the File & Restart Server
Save the
config.luafile.Restart your FiveM server using one of the following methods:
Console Command:
Full Server Restart: Stop and start the server manually.
Step 6: Test the Item
open prop attach menu:
Follow Video for instructions on how to use it https://www.youtube.com/watch?v=1Qxdz1Nmef8.
Verify the item appears and functions correctly.
Step 6: Debugging & Adjustments
If the emote does not show, check the server console for errors.
Verify spelling and commas in
config.lua.Ensure
dc_propattachis running properly.Look at the FiveM forums or Discord for troubleshooting help.
Last updated