Configuration
Phone Snatcher Config
Config = {}
Config.Framework = 'qb'
Config.UseOxInventory = false -- Set true if using ox_inventory
Config.NotificationSystem = "qb" -- 'qb' or 'ox_lib'
Config.DispatchSystem = "ps-dispatch" -- "ps-dispatch", "cd_dispatch", "qs-dispatch", "custom"
Config.TargetSystem = "qb-target" -- "qb-target" or "ox_target"
Config.PhoneSnatchItem = "leetphone" -- Item given to player when they successfully snatch a phone
Config.AlertPoliceSuccess = false
Config.AlertPoliceFail = false
Config.MinDistance = 2.0 -- Distance required to snatch phone
-- Lifestyle Restrictions (QB only for now)
Config.UseLifestyles = false -- Set to false to allow all players
Config.AllowedLifestyles = {
"gang"
}
Config.Leader = {
model = 'cs_movpremmale',
location = vector4(446.0039, -1235.3147, 29.9584, 355.7636),
blipenabled = true,
blipname = 'Phone Snatcher Leader',
blipsprite = 389,
blipcolour = 59,
blipscale = 0.5,
blipshortrange = true,
}
Config.Peds = {
"u_f_y_poppymich_02",
"u_f_m_miranda_02",
"u_m_m_bankman",
"u_m_m_aldinapoli",
}
Config.TargetBlip = {
enabled = true,
name = 'Phone Target',
sprite = 161,
scale = 0.8,
colour = 1,
shortRange = false
}
Config.PedSpawn = {
vector3(242.6468, -1115.9561, 29.3236),
vector3(8.1043, -916.9601, 29.9050),
vector3(212.7151, -593.0364, 43.8679),
vector3(462.5270, -693.6348, 27.4210),
vector3(386.7478, -899.6111, 29.4521),
vector3(-122.8933, -888.5554, 29.3389),
vector3(-21.6521, -1001.8614, 29.4998),
vector3(417.1408, -1108.8044, 30.0487),
vector3(327.1724, -1011.7714, 29.2908),
vector3(66.1242, -615.9608, 31.9018),
vector3(280.1768, -620.6162, 42.0211),
}
Config.RentBikeSpawn = vector4(446.9450, -1230.0487, 30.1007, 272.5505)
Config.AllowNpcPhoneSell = true -- Allow selling phones to the leader NPC
Config.PhoneRewardType = "item" -- "cash" or "item"
-- If using 'cash', choose method and range
Config.PhoneCashReward = {
payoutType = "cash", -- "cash" or "bank"
min = 500,
max = 1000
}
-- If using 'item', specify item and amount
Config.PhoneItemReward = {
item = "dirtymoney",
min = 500,
max = 3500
}
Config.Vehicles = {
["bmx"] = {
rentprice = 100,
paymentType = "cash" -- "cash", "bank", or "item"
}
}
Config.Notifications = {
AlreadySnatching = "You're already looking for someone!",
NoPhone = "You don't have a stolen phone!",
NotOnBike = "Get on your BMX first!",
SnatchSuccess = "You stole the phone! Run!",
JobStart = "Hop on this rental bike and find me a phone.",
TargetMarked = "Target marked. Ride to the location and snatch the phone!",
RentTicketMissing = "You need a bike rental ticket!",
NotEnoughMoney = "You need $%s in %s to rent the BMX.",
}
Last updated