🔧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_garages
Now you have to insert the SQL files into your database:
Config File
Config.Debug = false -- Set to true to enable debug messages in the console
Config.Language = 'en' -- Set the language of the resource
Config.PaymentMethod = 'bank' -- Set the account used for payments
Config.DepotPrice = 1000 -- Sets the price that the user must pay when recovering a vehicle from the impound lot
Config.Permissions = { -- Permissions required to access the administration menu, leave the table empty to allow all players
'god',
'superadmin',
'admin',
}
Config.GiveKeys = true -- Enable or disable the key system
Config.OpenAdministrationMenu = 'openadmin' -- Set the command to open the administration menu
Config.Keybinds = { -- Set the keybinds for various actions
['furniture'] = 'H',
['keysManagement'] = 'J'
}
Config.Columns = { -- Database mappings for different frameworks
['qb-core'] = {
['vehicles'] = 'player_vehicles',
['owner'] = 'citizenid',
['mods'] = 'mods',
['state'] = 'state',
['garage'] = 'garage',
},
['qbx_core'] = {
['vehicles'] = 'player_vehicles',
['owner'] = 'citizenid',
['mods'] = 'mods',
['state'] = 'state',
['garage'] = 'garage',
},
['esx'] = {
['vehicles'] = 'owned_vehicles',
['owner'] = 'owner',
['mods'] = 'vehicle',
['state'] = 'stored',
['garage'] = 'parking',
},
['custom'] = {
['vehicles'] = '',
['owner'] = '',
['mods'] = '',
['state'] = '',
['garage'] = '',
},
}
Config.VehicleStates = { -- States for vehicle storage
OUT = 0,
STORED = 1,
IMPOUNDED = 2,
}
Config.Marker = {
type = 36,
color = {0, 0, 0, 200},
size = vector3(0.3, 0.3, 0.3),
coords = vector3(0.0, 0.0, 1.0),
bobUpAndDown = true,
faceCamera = false,
rotate = true,
}
Last updated