A Clipboard for Mech

This item is free.

A Clipboard for Mechanics

Package Description

A Clipboard for Mechanics

Explanation:

A clipboard for filling in mechanics' customer data. In this way it is possible to have greater control over what happens and in addition to assisting mechanics in collecting what has been done. In this clipboard, you will fill in the following customer information: name, id and vehicle and then you will mark what was done in the vehicle.


Features:

  • When purchasing, you will receive 4 versions of this script: Standalone, ESX Basic, QBCore and VRP Basic
  • Easy setup and translation.

  • It contains animation, when you open the clipboard, the player keeps the prop in his hand.

  • Contains 36 checks

  • Contains a Search Menu for viewing in-game of filled clipboards.

  • Webhook to Discord.


Search Menu:

NwT8K3j.gif


Creating:

X1RPw2P.gif


Viewing an existing:

902Cacf.gif


36 markers:

t5xSajm.gif


Settings:

ESX: The following is the mechanic's job verification, if the job has a different name on your server, you should change it here (Server.lua):

RegisterCommand(Config.command, function(source,args)
    -- here you check the job of the player
    -- example: if xPlayer.job.name == "mechanic" then
    -- and also take his name
    local xPlayer = ESX.GetPlayerFromId(source)
    local job = xPlayer.getJob()


    if job.name == "mechanic" then

VRP: The following has the permission check and get the player's name. If on your server you use a different permission or the name column is different, you should change it here (Server.lua):

RegisterCommand(Config.command, function(source,args)

    -- here you check the player's permission
    -- example: if vRP.hasPermission({user_id, "vehicle.repair"}) then
    -- and also get his name
    local user_id = vRP.getUserId({source})
    local permission = vRP.hasPermission({user_id, "vehicle.repair"})

    if permission then
        local name = vRP.getUserIdentity({user_id, function(identity)
            local name = GetPlayerName(source)
            if identity then
                if identity.nome then
                    name = identity.nome .. " " .. identity.sobrenome
                else
                    name = identity.firstname .. " " .. identity.name
                end
            end

Standalone: If you want to make your own configuration for the server, you must do it here (Server.lua):

RegisterCommand(Config.command, function(source,args)
    -- here you check the job of the player
    -- example: if xPlayer.job.name == "mechanic" then
    -- and also take his name


Webhook and Translate:

In the Config.lua file, you can add the webhook, translate and change the position or size of the graphical interface.

To translate the markers, you need to change only the names of the variable list_options

If you want to change the image or color of something, you can do it directly at html/config.css


Updates:

So that it is possible to have different values for different cars

Was added a vector in Config.lua called list_adjust.
In this vector you can put different prices for different cars.

Fixed error when turning the page.

0swLVd7.gif


Dependencies:

 This script automatically creates the tables in the database.

  • mysql-async