๐Ÿงพ
docs.scriptsfivem.com
  • ๐Ÿ‘‹Welcome
  • ๐ŸงพResources
    • ๐Ÿ“ฑsfphone
      • Installations
      • Config
      • Exports
      • Open phone
    • ๐Ÿš—sfracing
      • Installations
      • Config
      • Exports
    • ๐Ÿ’ตsfbanking
      • Installations
      • Config
      • Exports
    • ๐Ÿ’ปsfctab
      • Installations
      • Config
      • Open tablet
      • Exports // Triggers
    • ๐Ÿ› ๏ธsfcrafting
      • Installations
      • Config
      • Open crafting table
    • ๐Ÿ””sfnotify
      • Installations
      • Config
      • Exports // Triggers
    • ๐Ÿ‘ทโ€โ™‚๏ธsfjob
      • Installations
      • Config
      • Exports // Triggers
    • ๐Ÿ’ปsfjobtab
      • Installations
      • Config
      • Triggers
    • โŒšsfgps
      • Installations
      • Config
      • Exports
    • ๐Ÿ‘ฎsfpolice
      • Installations
      • Config
      • Exports/Triggers
    • ๐Ÿฅsfems
      • Installations
      • Config
      • Exports/Triggers
    • ๐Ÿ…ฟ๏ธsfgarages
      • Installations
      • Config
      • Exports/Triggers
    • ๐Ÿ›๏ธsfdoj
      • Installations
      • Config
      • Exports/Triggers
    • ๐ŸŽฃsffishing
      • Installations
      • Config
      • Triggers
    • ๐Ÿš—sfvehicleshop
      • Installations
      • Config
    • ๐Ÿ”งsfmechanic
      • Installations
      • Config
      • Exports/Triggers
    • ๐Ÿฐsfjail
      • Installations
      • Config
      • Exports
    • ๐Ÿ”‘sfkeys
      • Exports
Powered by GitBook
On this page
  • Step 1 โžก Dependencies
  • Not required but recommended:
  • Step 2 โžก Resources in server.cfg
  • Step 3 โžก Database
  • Step 4 โžก Click on Config
  1. Resources
  2. sfmechanic

Installations

PrevioussfmechanicNextConfig

Last updated 1 year ago

Step 1 โžก Dependencies

This is one of the most important parts, since without the dependencies, the resource will never work or not start, here we will list the dependencies with their respective links for you to download and add them to your server.

Not required but recommended:

Step 2 โžก Resources in server.cfg

if you are using ESX โžก NEVER, but NEVER, you must place the resources above es_extended, if you do this they will never work and will throw errors

The correct order of the resources is as follows, always keeping es_extended and its cores above, but the other normal resources below

ensure sfmechanic

Step 3 โžก Database

Run query/SQL query and paste below code.

CREATE TABLE `jobs_mechanic_projects` (
  `id` int(11) NOT NULL,
  `playerid` varchar(64) NOT NULL,
  `model` varchar(64) NOT NULL,
  `model_name` varchar(64) NOT NULL,
  `code` varchar(16) NOT NULL,
  `name` varchar(32) NOT NULL,
  `parts` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

ALTER TABLE `jobs_mechanic_projects` ADD PRIMARY KEY (`id`);
ALTER TABLE `jobs_mechanic_projects` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;

In the case of the ESX framework. For another framework, modify the query according to the name of the table and columns.

If you don't have a price column in the vehicles table

ALTER TABLE `vehicles` ADD `price` INT(11) NULL DEFAULT NULL AFTER `model`;

If you don't have a class column in the vehicles table

ALTER TABLE `vehicles` ADD `class` VARCHAR(2) NULL DEFAULT NULL AFTER `category`;

Step 4 โžก Click on

๐Ÿงพ
๐Ÿ”ง
Config
GitHub - overextended/oxmysql: MySQL resource for FXServer.GitHub
GitHub - mkafrin/PolyZone: PolyZone is a FiveM mod to define zones of different shapes and test whether a point is inside or outside of the zoneGitHub
GitHub - overextended/ox_lib: A collection of Lua functions to utilise in other resources.GitHub
scriptsfivem.com | High quality resources for your FiveM server! | sfjob
Logo
GitHub - overextended/ox_inventory: Slot-based inventory with metadata.GitHub
pre-configured for ox_inventory in client_editable.lua/server_editable.lua
Logo
Logo
Logo
Logo