๐งInstallation
First we want you to know that our script only supports the following versions of the two most used frameworks, in older versions it may be usable but we do not provide support since the development focuses on the following versions:
ensure oxmysql/icmysql
ensure qb-core
...(make sure to start the inventory before the script)
ensure origen_hacking (optional)
ensure origen_carboosting
Now you have to insert the SQL files into your database:
origen_carboosting/db/tables.sql
Put that items on shared of qb-core.
['boosting_cad'] = {['name'] = 'boosting_cad', ['label'] = 'Boosting Tablet', ['weight'] = 100, ['type'] = 'item', ['image'] = 'boosting_cad.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Probably you can use this tablet for ilegal actions.'},
['locator_remover'] = {['name'] = 'locator_remover', ['label'] = 'Locator Remover', ['weight'] = 100, ['type'] = 'item', ['image'] = 'locator_remover.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Looks like a remover for specific signal type.'},
If you use the ox_inventory
['boosting_cad'] = {
label = 'Boosting CAD',
weight = 100,
stack = false,
close = true,
description = 'Device used for boosting missions.'
},
['locator_remover'] = {
label = 'Locator Remover',
weight = 100,
stack = true,
close = true,
description = 'Tool used to remove vehicle locators.'
},
Or if you are using the new Origen Inventory
boosting_cad = {
label = 'Boosting Tablet',
description = 'Probably you can use this tablet for ilegal actions.',
weight = 100,
stack = false,
close = true,
type = 'accessory',
},
locator_remover = {
label = 'Locator Remover',
description = 'Looks like a remover for specific signal type.',
weight = 100,
stack = true,
close = true,
type = 'accessory',
},
Config File
Config.Debug = false -- Enables or disables debug mode
Config.Language = "en" -- Sets the language of the script
Config.ContractOfferExpiration = 5 -- Sets the expiration time for contract offers in minutes
Config.MissionDuration = false -- Sets the time in which the mission will be considered failed in minutes, if false, the mission will not fail
Config.CustomNotify = false -- Enables or disables custom notifications
Config.PoliceJobName = {
'police',
} -- Sets the name of the police job
Config.Weapons = { -- Establishes the weapons that will be available when creating/editing a contract
'weapon_bat' -- Example
}
Config.Currency = { -- Currency which will be used to purchase contracts
AllowTransference = false, -- This option allows or disallows the transfer of this currency from within the nui (mainly intended for cases where a currency such as crypto is used).
Account = 'bank'
}
Config.Reward = { -- Sets the reward options
type = 'account', -- Sets the type of reward, 'account' or 'item'
name = 'bank', -- Sets the name of the account or item
}
Config.AdminGroups = { -- Sets the groups that can create/edit contracts
'admin',
'god'
}
Config.Items = {
OpenBoostingCad = 'boosting_cad', -- Sets the item needed to open the boosting CAD
HackLocator = 'locator_remover' -- Sets the item needed to hack the locator system
}
Config.Hack = { -- Sets the hacking options
Restriction = true, -- Enables or disables the restriction of hacking the locator while driving
MinimumSpeed = 20, -- Sets the minimum speed at which the vehicle must go in order to hack the locator
SpeedMultiplier = 3.6 -- 3.6 for km/h or 2.236936 for mph
}
Config.PlatePattern = 'XXXXXXXX' -- Sets the pattern of the license plates (Max 8 characters) (X = Random letter or number, L = Random letter, N = Random number, - = Blank space)
Config.Blips = { -- Sets the different types of blips
Tracker = {
Sprite = 161,
Color = 1,
Scale = 1.0,
},
Delivery = {
Sprite = 225,
Color = 2,
Scale = 0.8,
},
Vin = {
Sprite = 402,
Color = 5,
Scale = 0.8,
},
VehZone = {
Alpha = 80,
Color = 1,
Scale = 0.8,
},
}
Config.origenParking = false -- Enables or disable if using origen_parking
Last updated