ed
This commit is contained in:
parent
34e3fad675
commit
d3942f9c62
4 changed files with 222 additions and 1219 deletions
|
|
@ -1,13 +1,14 @@
|
|||
Config = {}
|
||||
weapon_combatpistoConfig = {}
|
||||
|
||||
-- General Settings
|
||||
Config.Debug = true -- Set to true for debug prints
|
||||
Config.CooldownTime = 1 -- Minutes between heists (per player)
|
||||
Config.GlobalCooldown = 1 -- Minutes between heists (server-wide)
|
||||
Config.PoliceRequired = 1 -- Minimum police required
|
||||
Config.Debug = false -- Set to true for debug prints
|
||||
Config.CooldownTime = 30 -- Minutes between heists (per player)
|
||||
Config.GlobalCooldown = 15 -- Minutes between heists (server-wide)
|
||||
Config.PoliceRequired = 2 -- Minimum police required
|
||||
Config.PoliceJobs = {
|
||||
"police", -- Regular police
|
||||
"marshal", -- Marshal service
|
||||
"sheriff" -- Sheriff department
|
||||
}
|
||||
|
||||
-- Required Items
|
||||
|
|
@ -42,42 +43,38 @@ Config.Blip = {
|
|||
sprite = 67,
|
||||
color = 1,
|
||||
scale = 0.8,
|
||||
label = "Container Einbruch",
|
||||
label = "Container Robbery",
|
||||
duration = 180, -- seconds
|
||||
flash = true,
|
||||
}
|
||||
|
||||
|
||||
-- Container Types (for rewards and animations)
|
||||
Config.ContainerTypes = {
|
||||
-- Regular shipping containers
|
||||
{
|
||||
model = "prop_container_01a",
|
||||
type = "shipping",
|
||||
shipping = {
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -4.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
duration = 30000, -- milliseconds
|
||||
},
|
||||
rewards = {
|
||||
-- Each reward has a chance (total should be <= 100)
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
-- Cash reward
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_01b",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -4.0, 0.0),
|
||||
heading = 180.0,
|
||||
|
||||
-- Weapons container
|
||||
weapons = {
|
||||
label = "Weapons Container",
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
|
|
@ -93,340 +90,10 @@ Config.ContainerTypes = {
|
|||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_01c",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -4.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_01d",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -4.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_01e",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -4.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_01f",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -4.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_01g",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -4.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_01h",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -4.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_02a",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -4.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_03a",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -2.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_03b",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -2.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_03mb",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -2.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_04a",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -2.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_04mb",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -2.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_05mb",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -2.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_ld",
|
||||
type = "shipping",
|
||||
label = "Shipping Container",
|
||||
offset = vector3(0.0, -2.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 30000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "prop_container_door_mb",
|
||||
type = "shipping",
|
||||
label = "Container Door",
|
||||
offset = vector3(0.0, -1.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 20000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 1, chance = 20},
|
||||
{item = "cash", label = "Cash", min = 500, max = 2000, chance = 30},
|
||||
},
|
||||
policeAlert = false,
|
||||
},
|
||||
|
||||
-- Trailer models
|
||||
{
|
||||
model = "trailers",
|
||||
type = "trailer",
|
||||
-- Cargo trailer
|
||||
cargo = {
|
||||
label = "Cargo Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
|
|
@ -442,12 +109,10 @@ Config.ContainerTypes = {
|
|||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "trailers2",
|
||||
type = "trailer",
|
||||
label = "Box Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
|
||||
-- Food trailer
|
||||
food = {
|
||||
label = "Food Trailer",
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
|
|
@ -462,320 +127,73 @@ Config.ContainerTypes = {
|
|||
},
|
||||
policeAlert = false,
|
||||
},
|
||||
{
|
||||
model = "trailers3",
|
||||
type = "trailer",
|
||||
label = "Transport Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 40000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
|
||||
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
|
||||
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
|
||||
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
|
||||
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "trailers4",
|
||||
type = "trailer",
|
||||
label = "Car Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 40000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "carparts", label = "Car Parts", min = 3, max = 8, chance = 60},
|
||||
{item = "toolbox", label = "Toolbox", min = 1, max = 2, chance = 40},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 3000, chance = 30},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "trailerlogs",
|
||||
type = "trailer",
|
||||
label = "Logging Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 40000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "wood", label = "Wood", min = 10, max = 20, chance = 80},
|
||||
{item = "cash", label = "Cash", min = 500, max = 2000, chance = 20},
|
||||
},
|
||||
policeAlert = false,
|
||||
},
|
||||
{
|
||||
model = "tanker",
|
||||
type = "trailer",
|
||||
label = "Fuel Tanker",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 50000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "petrol", label = "Petrol", min = 10, max = 20, chance = 70},
|
||||
{item = "cash", label = "Cash", min = 2000, max = 5000, chance = 30},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "tanker2",
|
||||
type = "trailer",
|
||||
label = "Chemical Tanker",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 50000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "chemicals", label = "Chemicals", min = 5, max = 15, chance = 60},
|
||||
{item = "cash", label = "Cash", min = 3000, max = 8000, chance = 40},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "docktrailer",
|
||||
type = "trailer",
|
||||
label = "Dock Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 40000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "electronics", label = "Electronics", min = 3, max = 8, chance = 40},
|
||||
{item = "plastic", label = "Plastic", min = 10, max = 20, chance = 60},
|
||||
{item = "aluminum", label = "Aluminum", min = 10, max = 20, chance = 50},
|
||||
{item = "copper", label = "Copper", min = 5, max = 15, chance = 30},
|
||||
{item = "cash", label = "Cash", min = 3000, max = 10000, chance = 25},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "tr2",
|
||||
type = "trailer",
|
||||
label = "Car Carrier Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 40000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "carparts", label = "Car Parts", min = 3, max = 8, chance = 60},
|
||||
{item = "toolbox", label = "Toolbox", min = 1, max = 2, chance = 40},
|
||||
{item = "cash", label = "Cash", min = 1000, max = 3000, chance = 30},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "tr3",
|
||||
type = "trailer",
|
||||
label = "Large Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 40000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "electronics", label = "Electronics", min = 3, max = 8, chance = 40},
|
||||
{item = "plastic", label = "Plastic", min = 10, max = 20, chance = 60},
|
||||
{item = "aluminum", label = "Aluminum", min = 10, max = 20, chance = 50},
|
||||
{item = "copper", label = "Copper", min = 5, max = 15, chance = 30},
|
||||
{item = "cash", label = "Cash", min = 3000, max = 10000, chance = 25},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "tr4",
|
||||
type = "trailer",
|
||||
label = "Training Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 40000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "electronics", label = "Electronics", min = 3, max = 8, chance = 40},
|
||||
{item = "plastic", label = "Plastic", min = 10, max = 20, chance = 60},
|
||||
{item = "aluminum", label = "Aluminum", min = 10, max = 20, chance = 50},
|
||||
{item = "copper", label = "Copper", min = 5, max = 15, chance = 30},
|
||||
{item = "cash", label = "Cash", min = 3000, max = 10000, chance = 25},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "tvtrailer",
|
||||
type = "trailer",
|
||||
label = "TV Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 40000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "electronics", label = "Electronics", min = 5, max = 10, chance = 70},
|
||||
{item = "wires", label = "Wires", min = 5, max = 15, chance = 60},
|
||||
{item = "cash", label = "Cash", min = 2000, max = 6000, chance = 30},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "armytanker",
|
||||
type = "trailer",
|
||||
label = "Military Tanker",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 50000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "weapon_pistol", label = "Pistol", min = 1, max = 1, chance = 15},
|
||||
{item = "pistol_ammo", label = "Pistol Ammo", min = 10, max = 30, chance = 30},
|
||||
{item = "armor", label = "Body Armor", min = 1, max = 3, chance = 25},
|
||||
{item = "cash", label = "Cash", min = 5000, max = 15000, chance = 20},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "armytrailer",
|
||||
type = "trailer",
|
||||
label = "Military Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 50000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "weapon_pistol", label = "Pistol", min = 1, max = 1, chance = 15},
|
||||
{item = "pistol_ammo", label = "Pistol Ammo", min = 10, max = 30, chance = 30},
|
||||
{item = "armor", label = "Body Armor", min = 1, max = 3, chance = 25},
|
||||
{item = "cash", label = "Cash", min = 5000, max = 15000, chance = 20},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "freighttrailer",
|
||||
type = "trailer",
|
||||
label = "Freight Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 45000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "electronics", label = "Electronics", min = 3, max = 8, chance = 40},
|
||||
{item = "plastic", label = "Plastic", min = 10, max = 20, chance = 60},
|
||||
{item = "aluminum", label = "Aluminum", min = 10, max = 20, chance = 50},
|
||||
{item = "copper", label = "Copper", min = 5, max = 15, chance = 30},
|
||||
{item = "cash", label = "Cash", min = 3000, max = 10000, chance = 25},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
{
|
||||
model = "graintrailer",
|
||||
type = "trailer",
|
||||
label = "Grain Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 40000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "grain", label = "Grain", min = 10, max = 20, chance = 80},
|
||||
{item = "cash", label = "Cash", min = 500, max = 2000, chance = 20},
|
||||
},
|
||||
policeAlert = false,
|
||||
},
|
||||
{
|
||||
model = "proptrailer",
|
||||
type = "trailer",
|
||||
label = "Prop Trailer",
|
||||
offset = vector3(0.0, -5.0, 0.0),
|
||||
heading = 180.0,
|
||||
animation = {
|
||||
dict = "amb@world_human_welding@male@base",
|
||||
name = "base",
|
||||
flag = 1,
|
||||
duration = 40000,
|
||||
},
|
||||
rewards = {
|
||||
{item = "electronics", label = "Electronics", min = 3, max = 8, chance = 40},
|
||||
{item = "plastic", label = "Plastic", min = 10, max = 20, chance = 60},
|
||||
{item = "aluminum", label = "Aluminum", min = 10, max = 20, chance = 50},
|
||||
{item = "copper", label = "Copper", min = 5, max = 15, chance = 30},
|
||||
{item = "cash", label = "Cash", min = 3000, max = 10000, chance = 25},
|
||||
},
|
||||
policeAlert = true,
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
-- Locations where containers can be found (optional, for target setup)
|
||||
Config.ContainerLocations = {
|
||||
-- Container Points (specific locations for container robberies)
|
||||
Config.ContainerPoints = {
|
||||
-- Port area shipping containers
|
||||
{
|
||||
coords = vector3(1000.0, -3000.0, 5.0),
|
||||
heading = 0.0,
|
||||
model = "prop_container_01a",
|
||||
spawnContainer = true, -- Whether to spawn a container at this location
|
||||
id = "port_container_1",
|
||||
type = "shipping", -- References the container type above for rewards
|
||||
coords = vector3(895.7916, -2968.3140, 5.9008),
|
||||
heading = 269.5337,
|
||||
label = "Break into Container"
|
||||
},
|
||||
{
|
||||
coords = vector3(980.0, -3000.0, 5.0),
|
||||
heading = 0.0,
|
||||
model = "prop_container_01b",
|
||||
spawnContainer = true,
|
||||
id = "port_container_2",
|
||||
type = "shipping",
|
||||
coords = vector3(990.23, -3050.34, 5.90),
|
||||
heading = 90.0,
|
||||
label = "Break into Container"
|
||||
},
|
||||
-- Add more fixed locations as needed
|
||||
|
||||
-- Weapons containers
|
||||
{
|
||||
id = "weapons_container_1",
|
||||
type = "weapons",
|
||||
coords = vector3(905.45, -3200.67, 5.90),
|
||||
heading = 0.0,
|
||||
label = "Break into Weapons Container"
|
||||
},
|
||||
{
|
||||
id = "weapons_container_2",
|
||||
type = "weapons",
|
||||
coords = vector3(910.34, -3195.23, 5.90),
|
||||
heading = 270.0,
|
||||
label = "Break into Weapons Container"
|
||||
},
|
||||
|
||||
-- Cargo trailers
|
||||
{
|
||||
id = "cargo_trailer_1",
|
||||
type = "cargo",
|
||||
coords = vector3(825.34, -3125.45, 5.90),
|
||||
heading = 270.0,
|
||||
label = "Break into Cargo Trailer"
|
||||
},
|
||||
{
|
||||
id = "cargo_trailer_2",
|
||||
type = "cargo",
|
||||
coords = vector3(830.56, -3130.78, 5.90),
|
||||
heading = 180.0,
|
||||
label = "Break into Cargo Trailer"
|
||||
},
|
||||
|
||||
-- Food trailers
|
||||
{
|
||||
id = "food_trailer_1",
|
||||
type = "food",
|
||||
coords = vector3(765.23, -3165.34, 5.90),
|
||||
heading = 180.0,
|
||||
label = "Break into Food Trailer"
|
||||
},
|
||||
{
|
||||
id = "food_trailer_2",
|
||||
type = "food",
|
||||
coords = vector3(770.45, -3170.56, 5.90),
|
||||
heading = 90.0,
|
||||
label = "Break into Food Trailer"
|
||||
},
|
||||
|
||||
-- Add more points as needed
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue