Installation
Items Installation
["car-battery"] = {["name"] = "car-battery", ["label"] = "Car Battery", ["weight"] = 150, ["type"] = "item", ["image"] = "car-battery.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "What i do with this?"},
["car-door"] = {["name"] = "car-door", ["label"] = "Car Door", ["weight"] = 150, ["type"] = "item", ["image"] = "car-door.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "What i do with this?"},
["car-engine"] = {["name"] = "car-engine", ["label"] = "Car Engine", ["weight"] = 150, ["type"] = "item", ["image"] = "car-engine.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "What i do with this?"},
["car-hood"] = {["name"] = "car-hood", ["label"] = "Car Hood", ["weight"] = 150, ["type"] = "item", ["image"] = "car-hood.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "What i do with this?"},
["car-suspension"] = {["name"] = "car-suspension", ["label"] = "Car Suspension", ["weight"] = 150, ["type"] = "item", ["image"] = "car-suspension.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "What i do with this?"},
["car-tire"] = {["name"] = "car-tire", ["label"] = "Car Tire", ["weight"] = 150, ["type"] = "item", ["image"] = "car-tire.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "What i do with this?"},
["car-windows"] = {["name"] = "car-windows", ["label"] = "Car Windows", ["weight"] = 150, ["type"] = "item", ["image"] = "car-windows.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "What i do with this?"},
["car-trunk"] = {["name"] = "car-trunk", ["label"] = "Car Trunk", ["weight"] = 150, ["type"] = "item", ["image"] = "car-trunk.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "What i do with this?"},
['car-battery'] = { label = 'Car Battery', weight = 150, stack = true, allowArmed = false },
['car-door'] = { label = 'Car Door', weight = 150, stack = true, allowArmed = false },
['car-engine'] = { label = 'Car Engine', weight = 150, stack = true, allowArmed = false },
['car-hood'] = { label = 'Car Hood', weight = 150, stack = true, allowArmed = false },
['car-suspension'] = { label = 'Car Suspension', weight = 150, stack = true, allowArmed = false },
['car-tire'] = { label = 'Car Tire', weight = 150, stack = true, allowArmed = false },
['car-windows'] = { label = 'Car Windows', weight = 150, stack = true, allowArmed = false },
['car-trunk'] = { label = 'Car Trunk', weight = 150, stack = true, allowArmed = false },
Database Installation
We have one option on config.lua called Config.AutoDatabase
where this code is inserted automatically.
CREATE TABLE IF NOT EXISTS `m_carrebuild` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`char_id` varchar(55) NOT NULL DEFAULT '',
`experience` int(11) NOT NULL,
`car_rebuilds` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
Last updated