![[PAID] [QBCore] GG-Copperstealing main image](https://forum-cfx-re.akamaized.net/optimized/4X/b/7/0/b70ce615cde7dcb0389cbbf0b26d7dee322878e8_2_690x205.png)
Price
UnknownA script by zSmilleeyy
Price
UnknownGooGoo’s Copperstealing
This is an script that allows you to cut copper, you can go around 100+ preconfigured locations by props where you can cut copper.
When you have a flush cutter in your inventory you can cut electric wires from the locations.
The next step is use the strip tool to a electric wire, to make copper wire. Smelt the copper wire to copper ‘materials’.
Scripts includes 2 minigames.
The script is synced so when someone start cutting copper, the location where the player have cut will no longer be available for any players on the server. Also will every location reset after 5 minutes (real time).
Almost everything is configable!
Config File:
Config = Config or {}
Config.Debug = false -- Enable / Disable debugpoly
Config.TargetSystem = 'qb-target' -- Target system you want to use : qb-target / qtarget / ox_target
Config.Inventory = 'qb-inventory' -- qb-inventory / ps-inventory
Config.img = 'qb-inventory/html/images/'
Config.PropNames = {
'prop_rail_signals02',
'prop_rail_signals03',
'prop_rail_signals04'
}
Config.CooldownTime = 5 -- Cooldown time in minutes to steal another copper from same entity
Config.CuttingWireTime = 7000
Config.StealCopperTime = 7000
Config.ElectrocuteTime = {min = 5000, max = 9000} -- Time in ms for electrocute player when minigame fails
Config.CopperReward = {item = 'electric_wire', min = 1, max = 2} -- Reward after cutting wires
Config.StripTool = 'strip_tool' -- Name of the strip tool item
Config.StripReward = {item = 'copper_wire', min = 1, max = 2} -- Item you get after stripping the wires
Config.StripTime = 4000
Config.PoliceDispatch = function(coords)
local luck = math.random(1,100)
if luck < 70 then
exports['ps-dispatch']:SuspiciousActivity()
end
end
-- Melting
Config.MeltingTime = 5000
Config.UseMeltingMinigame = true
Config.MeltLocation = {
[1] = {coord = vector4(1110.85, -2007.84, 31.04, 224.93), blip = true, sprite = 648, scale = 0.5, color = 1, name = 'Copper Melting'}
}
Config.MeltingItems = {
[1] = { ['copper'] = { ['copper_wire'] = 2, }, ['amount'] = 1 },
}
OX COMPATIBLE IN DISCORD!
Dependencies:
qb-target / ox_target or qtarget
qb-inventory or ps-inventory
qb-menu
ps-dispatch
Features:
[FiveM Asset Escrow System] OR [Open Source On Our Tebex]
GooGoo Discord
Preview
Buy here
|-------------------------------------|----------------------------|
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 600 |
| Requirements | QBCore |
Support | Yes |
---|
No approved reviews found for this script yet.