A comprehensive FiveM scrapyard material collection system that transforms vehicle wreckage props into interactive material collection points at designated scrapyard locations.
โ Fully compatible with ox_target and ox_inventory
Check out the script in action: Watch Demo
Two Scrapyard Locations - Davis Scrapyard and La Mesa Scrapyard with map blips
Interactive Props - 30+ different searchable vehicle wreckage and scrap props
Tiered Loot System - Common, uncommon, and rare materials with realistic drop rates
Cooldown System - 1-minute cooldown per prop to prevent spam
Zone Detection - Players must be within scrapyard boundaries to search
Realistic Animations - Search animations with progress bars
ox_libox_inventoryox_targetqbx_core(or your preferred framework)
- Ensure you have all required dependencies installed
- Place the
symple_scrapfolder in your[standalone]resources directory - Add the following items to your
ox_inventory/data/items.lua:
-- Common Materials
['metalscrap'] = {
label = 'Metal Scrap',
weight = 100,
stack = true,
close = true,
},
['steel'] = {
label = 'Steel',
weight = 150,
stack = true,
close = true,
},
['iron'] = {
label = 'Iron',
weight = 130,
stack = true,
close = true,
},
['copper'] = {
label = 'Copper',
weight = 120,
stack = true,
close = true,
},
['plastic'] = {
label = 'Plastic',
weight = 50,
stack = true,
close = true,
},
['rubber'] = {
label = 'Rubber',
weight = 80,
stack = true,
close = true,
},
['glass'] = {
label = 'Glass Shards',
weight = 60,
stack = true,
close = true,
},
-- Uncommon Materials
['aluminum'] = {
label = 'Aluminum',
weight = 100,
stack = true,
close = true,
},- Add to your
server.cfg:
ensure symple_scrap
- Restart your server
- Visit Scrapyards - Travel to either Davis Scrapyard or La Mesa Scrapyard (marked on map)
- Find Props - Look for vehicle wreckage, car parts, and scrap props
- Search - Use the interaction key (default E) when near searchable props
- Wait - Complete the 4-second search animation
- Collect - Receive materials directly to your inventory
- Cooldown - Wait 1 minute before searching the same prop again
- Metal Scrap, Steel, Iron, Copper, Plastic, Rubber, Glass
- Aluminum
Edit config.lua to customize:
- Scrapyard locations and zones
- Loot tables and drop rates
- Search duration and cooldowns
- Searchable prop models
- Translation strings
The system recognizes 30+ different prop models including:
- Car bonnets and doors
- Engine blocks and chassis
- Vehicle wreckage pieces
- Truck wreckage
- Scrap metal pieces
- Wheels and tires
- Optimized distance checking
- Efficient prop detection
- Automatic cooldown cleanup
- Zone-based interaction limiting
Need help or have questions? Join our Discord community:
Discord: https://discord.gg/rX7bWcNm
This script is designed for roleplay purposes and should be used in accordance with your server's rules and guidelines.