Configuration
Below we have explained some of the key features found in our Config file within the Fake ID Script.
Framework
Inventory
Target System
Shop
Pickup Locations
Using qs-inventory
Items also need to be added to the qb-core -> shared -> items.lua to ensure for compatibility with qs-inventory.
Using ox_intentory
Using qb-core
Config File before edits
Config = {}
Config.Framework = "auto" -- "auto", "qb-core", "qbox"
Config.InventorySystem = 'auto' -- "auto", "qb-inventory", "qs-inventory", "ox_inventory" --
Config.TargetSystem = "auto" -- "auto", "qb-target", "ox_target" --
Config.Shop = {
location = vector3(327.16, -1258.44, 32.11),
heading = 265.99,
ped = "a_m_m_business_01",
blip = {
enabled = true,
sprite = 52,
colour = 1,
scale = 0.8,
name = "Blank Cards Shop"
},
item = {
name = "blank_id_card",
label = "Blank ID Card",
price = 500
}
}
Config.CreateLocation = {
location = vector3(335.0, -1294.9, 32.51),
heading = 153.91,
ped = "a_m_m_prolhost_01",
blip = {
enabled = true,
sprite = 374,
colour = 2,
scale = 0.8,
name = "Fake ID Creation"
}
}
Config.PickupProp = "prop_cs_cardbox_01"
Config.PickupBlip = {
sprite = 478,
colour = 3,
scale = 1.0,
name = "Pickup Location"
}
Config.FakeIDItem = {
name = "fake_id_card",
label = "Fake ID Card"
}
Config.PickupAnimation = {
dict = "pickup_object",
anim = "pickup_low",
duration = 2000
}
Config.PickupLocations = {
vector3(364.82, 256.78, 103.0),
vector3(-726.7, 40.86, 44.91),
vector3(-1502.2, 1527.7, 115.25),
vector3(-3193.07, 1229.78, 10.05),
vector3(-1025.07, -2193.41, 9.07),
vector3(1434.18, -2223.99, 60.6),
vector3(1998.34, 3780.01, 32.18),
vector3(446.27, 3566.6, 33.24),
vector3(9.8, 3719.79, 39.55),
vector3(-432.43, 6165.64, 31.48),
vector3(124.13, 6645.23, 31.79)
}
Last updated