Sinor Recycler (QBCore)
This script allows players to recycle items at designated recycling machines, converting them into base materials.
Features
- Spawns recycling machines at configurable locations.
- Players can deposit items into a machine’s stash.
- Items are processed into recycled materials.
- Highly configurable: customize machine locations, recyclable items, and more.
Dependencies
- qb-core
- qb-target
- qb-inventory (Requires V1, V2 is incompatible)
Configuration
Config = {}
Config.recyclingMachineModel = "gr_prop_gr_lathe_01c" -- Recycler model
Config.progressBartime = 5000 -- Processing time (ms)
Config.RecyclerSetting = { slots = 4, maxWeight = 100000 } -- Stash capacity and weight limit
-- Recycler locations (vector4 format: x, y, z, heading)
Config.RecyclerLocation = {
vector4(-572.78, 5321.46, 69.22, 62.53),
vector4(2046.34, 3410.17, 43.34, 119.1),
vector4(461.18, -808.04, 27.24, 269.62),
vector4(-377.48, -2266.34, 6.61, 0.08)
-- Add more locations as needed
}
-- Recyclable items and their material yields
Config.recyclables = {
-- Melee
weapon_bat = { wood = 15, rubber = 5 },
weapon_bottle = { glass = 10 },
weapon_crowbar = { iron = 15, steel = 5 },
weapon_flashlight = { aluminum = 5, rubber = 5, plastic = 5 },
weapon_hammer = { iron = 10, steel = 5, wood = 5 },
weapon_hatchet = { iron = 12, steel = 8, wood = 5 },
weapon_knife = { iron = 10, steel = 5 },
weapon_machete = { iron = 12, steel = 8 },
-- Weapons
weapon_ceramicpistol = { aluminum = 35, rubber = 20, plastic = 15, steel = 35 },
weapon_grenade = { aluminum = 10, plastic = 6, steel = 10 },
weapon_pumpshotgun = { aluminum = 50, plastic = 80, steel = 50, iron = 50, copper = 45 },
weapon_pistol = { iron = 15, steel = 10, electronicscrap = 5, rubber = 5 },
weapon_stungun = { plastic = 10, electronicscrap = 10, copper = 5 },
weapon_snspistol = { iron = 12, steel = 8, rubber = 5 },
weapon_microsmg = { iron = 20, steel = 15, electronicscrap = 10, rubber = 5 },
weapon_smg = { iron = 25, steel = 20, electronicscrap = 10, rubber = 5 },
weapon_combatpdw = { iron = 30, steel = 20, electronicscrap = 10, rubber = 5 },
weapon_musket = { wood = 20, iron = 15, steel = 10 },
weapon_assaultrifle = { iron = 40, steel = 25, electronicscrap = 15, rubber = 10 },
weapon_sniperrifle = { iron = 50, steel = 30, electronicscrap = 20 },
-- Ammo
pistol_ammo = { iron = 5, gunpowder = 5 },
rifle_ammo = { iron = 8, gunpowder = 8 },
smg_ammo = { iron = 6, gunpowder = 6 },
shotgun_ammo = { iron = 10, gunpowder = 10 },
-- Food
water_bottle = { plastic = 5 },
coffee = { plastic = 3 },
kurkakola = { plastic = 4, aluminum = 2 },
beer = { glass = 5 },
whiskey = { glass = 8 },
vodka = { glass = 8 },
wine = { glass = 10 },
-- Tools
lockpick = { steel = 5, aluminum = 3 },
advancedlockpick = { steel = 8, aluminum = 5 },
electronickit = { electronicscrap = 15, plastic = 5 },
repairkit = { steel = 10, rubber = 5 },
advancedrepairkit = { steel = 15, rubber = 10 },
jerry_can = { plastic = 10 },
tirerepairkit = { rubber = 10, steel = 5 },
-- Electronics
phone = { plastic = 8, electronicscrap = 10, glass = 5 },
iphone = { plastic = 10, electronicscrap = 15, glass = 10 },
samsungphone = { plastic = 10, electronicscrap = 15, glass = 10 },
laptop = { plastic = 15, electronicscrap = 20, glass = 5, copper = 5 },
tablet = { plastic = 12, electronicscrap = 15, glass = 8, copper = 5 },
fitbit = { plastic = 5, electronicscrap = 8 },
radioscanner = { plastic = 8, electronicscrap = 10 },
pinger = { plastic = 6, electronicscrap = 10 },
}
Preview
Tebex
Other Scripts
Standalone|ZombieSystem
Standalone|VehicleSpawner
standalone|SurvivalHUD
QBCore|RobberyCreator
QBCore|SafeZone
QBCore|Shop
QBCore|WeatherSync
QBCore|PhoneStoreRobbery
QBCore|CamperHousing
QBCore|LootBags
ESX|LootBags
ESX/QBCore|InGameMusic
ESX/QBCore|RadiationZones
ESX/QBCore|LootAreas
ESX/QBCore|CraftingVehicles
Support:
you can join my discord for any support ! Sinor System
Code is accessible | only Config |
Subscription-based | No |
Lines (approximately) | 140 |
Requirements | QBCore |
Support | Yes |