Pular para o conteúdo

10% de desconto, aplicado no checkoutBlack Friday: 30% até 1 de dez.Modelos de servidorModelos de servidor

RPScripts

Scripts de veículos FiveM

Smart Motorways

London Studios Smart Motorways

London Studios
Frameworks:
  • ESX
  • QBCore
  • Qbox
  • vRP

Verificado pelo RPScripts Lab

  • Verificação estática: 1 recurso lido
O que foi verificado
Verificar compatibilidade com o seu servidor

Detalhes

Frameworks
ESX, QBCore, Qbox, vRP
Versão
1.0.0
Tamanho do arquivo
10 MB
Criador
London Studios
Atualizado
Termos de licença e suporte
  • Licença: para o seu próprio servidor ou projeto. Sem revenda ou compartilhamento.
  • Atualizações: quando houver um arquivo mais recente, ele aparece nos downloads da sua conta.
  • Suporte: acesso ao download e dúvidas de configuração específicas do produto.
Termos de licença e suporte

Descrição

Smart Motorways, da London Studios, adiciona pórticos de rodovia com limites de velocidade e placas de faixa dinâmicas ao seu servidor FiveM. Você os controla em tempo real por um painel de controle dentro do jogo.

Prévia em vídeo

Funcionalidades

  • Painel de controle - Nosso painel de controle dentro do jogo permite que os jogadores definam facilmente o ícone ou a velocidade exibidos acima das faixas, em tempo real.
  • Alterações remotas - Os pórticos de rodovia podem ser atualizados em todo o mapa com um único comando, com um mapa que permite selecionar o local que você quer editar.
  • Sistema CCTV - Veja e mova facilmente as câmeras CCTV nos pórticos por todo o mapa, a partir do painel de controle.
  • Modos EUA / Reino Unido / UE - Smart Motorways oferece suporte a três modos: EUA, Reino Unido e UE. Isso significa que já vem com uma ampla gama de velocidades prontas para o seu servidor.
  • Integração com Smart Signs - Smart Motorways é integrado ao Smart Signs: se você tiver os dois, poderá adicionar mensagens ou ícones em um novo painel acima de cada pórtico.
  • Integração com Smart Speed Cameras - Smart Motorways é integrado ao Smart Speed Cameras: se você tiver os dois, as câmeras em todos os pórticos serão ativadas e se ajustarão dinamicamente ao limite de velocidade definido acima de cada faixa, ajudando na fiscalização de velocidade.
  • Suporte a ícones - Além das velocidades, temos ícones como seta para a esquerda e faixa fechada.
  • Log no Discord - Nosso recurso pode se integrar ao Discord com registro por webhooks. Ele pode registrar qualquer alteração nos pórticos e manter um histórico.
  • Placas pré-configuradas - Pré-configuramos mais de 60 locais pelo mapa, então o Smart Motorways está pronto para uso logo de cara.
  • Alterações persistentes - Alterações de velocidade, texto e ícone são salvas em locations.json (configurável com saveSpeedsOnChange, saveTextOnChange e saveIconOnChange), então continuam após uma reinicialização. Você pode limpar todas as placas com o comando /resetsmartmotorway.
  • Texturas emissivas - Estes ícones são brilhantes de dia e de noite, o que chama a atenção dos motoristas em qualquer horário.
  • Suporte a várias faixas - Suportamos vias de duas, três e quatro faixas.
  • Adicione locais facilmente - Com nosso comando para desenvolvedores, você pode adicionar novos locais dentro do jogo, que são salvos automaticamente para a próxima reinicialização.
  • Permissões - Os comandos /selectsign e de reset podem ser limitados por permissões ACE ou por verificações de emprego, grupo ou permissão de ESX, QBCore, QBX e vRP.

Configuração

config = {

    -- We've included speed options for the UK, EU, and US based servers 
    -- Simply type "UK", "EU", or "US" to change the speed options 
    iconPack = "UK",

    -- If you add custom icons, you can add them here
    -- Speed-related icons will be used for speed cameras, and must contain the speed limit in the name as numbers only.
    -- E.g. an icon of speed_60 will be used for a speed limit of 60. An icon of 3_speed_40 would result in a speed limit of 340.
    -- Do NOT edit this section unless you know what you are doing and have modelled custom icons.
    iconPacks = {
        ["UK"] = {
            "arrow_left",
            "arrow_right",
            "red_x",
            "speed_20",
            "speed_30",
            "speed_40",
            "speed_50",
            "speed_60",
            "national_speed",
        },
        ["EU"] = {
            "arrow_left",
            "arrow_right",
            "red_x",
            "speed_20",
            "speed_30",
            "speed_40",
            "speed_50",
            "speed_60",
            "speed_70",
            "speed_80",
            "speed_90",
            "speed_100",
            "speed_110",
            "speed_120",
            "speed_130",
            "speed_140",
            "speed_150",
        },
        ["US"] = {
            "arrow_left",
            "arrow_right",
            "red_x",
            "bv_motorway_speed_15",
            "bv_motorway_speed_20",
            "bv_motorway_speed_25",
            "bv_motorway_speed_30",
            "bv_motorway_speed_35",
            "bv_motorway_speed_40",
            "bv_motorway_speed_45",
            "bv_motorway_speed_50",
            "bv_motorway_speed_55",
            "bv_motorway_speed_60",
            "bv_motorway_speed_65",
            "bv_motorway_speed_70",
            "bv_motorway_speed_75",
            "bv_motorway_speed_80",
            "bv_motorway_speed_85",
        },
    },


    cctvKeys = {
        up = {0, 172},
        down = {0, 173},
        left = {0, 174},
        right = {0, 175},
        leaveCam = {0, 200},
    },

    -- The distance in which the sign and its speed limits will load/unload at
    loadDistance = 200.0,

    -- This will enable debug printing on both the client and the server. This should be set to false most of the time.
    developerMode = false,

    integrations = {

        smartSpeedCameras = {
            enabled = false, -- Only enable if you have the Smart Speed Cameras resource installed and up to date 
            resourceName = "SmartSpeedCameras", -- This is the name of the resource which Smart Speed Cameras is installed under
            cooldown = 60, -- This is the cooldown in seconds between speed camera detections. This is to prevent spam fines.
        },

        smartSigns = {
            enabled = false, -- Only enable if you have the Smart Signs resource installed and up to date 
            resourceName = "SmartSigns", -- This is the name of the resource which Smart Signs is installed under
        }

    },

    saveSpeedsOnChange = true, -- If this is set to true, the speeds will be saved to locations.json when changed. If false, the speeds will reset on restart.
    saveTextOnChange = true, -- If this is set to true, the text will be saved to locations.json when changed. If false, the text will reset on restart.
    saveIconOnChange = true, -- If this is set to true, the icon will be

    
    closeMenuButton = {0, 177},

    -- This allows you to enable Discord logging for the signs
    -- You must add your webhook in sv_utils.lua
    logging = {
        enabled = false,
        displayName = "Smart Motorways",
        colour = 31487,
        title = "**New Sign Log**",
        icon = "https://i.imgur.com/dcOQmpA.jpg",
        footerIcon = "https://i.imgur.com/n3n7JNW.png",
        dateFormat = "%d-%m-%Y %H:%M:%S", -- Day-Month-Year Hour-Minute-Second
    },

    resetSignsCommand = {
        enabled = true,
        commandName = "resetsmartmotorway",
        Permissions = {
                EnablePermissions = false, -- If set to false, all below job checks will be disabled, even if they are enabled in the config.lua
                AcePermissions = {
                    Permission = "update.motorway.sign",
                    Enabled = false,
                },
            
                ESX = {
                    Enabled = false,
                    CheckJob = {
                        Enabled = false, -- Enable this to use ESX job check
                        Jobs = {"police"} -- A user can have any of the following jobs, allowing you to add multiple
                    }
                },
                -- We've added vRP integration. All you need to do is enable it below. Then, configure if you wish to check for groups or permissions, or even both
                vRP = {
                    Enabled = false,
                    CheckGroup = {
                        Enabled = false, -- Enable this to use vRP group check
                        Groups = {"police"}, -- A user can have any of the following groups, meaning you can add different jobs
                    },
                    CheckPermission = {
                        Enabled = false, -- Enable this to use vRP permission check
                        Permissions = {"police"} -- A user can have any of the following permissions, allowing you to add multiple
                    },
                },
                -- We've added QBCore integration. All you need to do is enable it below. Then, configure if you wish to check for jobs or permissions, or even both
                QBCore = {
                    Enabled = false,
                    CheckJob = {
                        Enabled = false, -- Enable this to use QBCore job check
                        Jobs = {"police"}, -- A user can have any of the following jobs, meaning you can add different jobs
                    },
                    CheckPermission = {
                        Enabled = false, -- Enable this to use QBCore permission check
                        Permissions = {"police"}, -- A user can have any of the following permissions, allowing you to add multiple
                    },
                },
                -- We've added QBX integration. All you need to do is enable it below. Then, configure if you wish to check for jobs or permissions, or even both
                QBX = {
                    Enabled = false,
                    CheckJob = {
                        Enabled = false, -- Enable this to use QBX job check
                        Jobs = {"police"}, -- A user can have any of the following jobs, meaning you can add different jobs
                    }
                },
        },
    },

    selectSignCommand = {
        commandName = "selectsign",
        Permissions = {
                EnablePermissions = false, -- If set to false, all below job checks will be disabled, even if they are enabled in the config.lua
                AcePermissions = {
                    Permission = "update.motorway.sign",
                    Enabled = false,
                },
            
                ESX = {
                    Enabled = false,
                    CheckJob = {
                        Enabled = false, -- Enable this to use ESX job check
                        Jobs = {"police"} -- A user can have any of the following jobs, allowing you to add multiple
                    }
                },
                -- We've added vRP integration. All you need to do is enable it below. Then, configure if you wish to check for groups or permissions, or even both
                vRP = {
                    Enabled = false,
                    CheckGroup = {
                        Enabled = false, -- Enable this to use vRP group check
                        Groups = {"police"}, -- A user can have any of the following groups, meaning you can add different jobs
                    },
                    CheckPermission = {
                        Enabled = false, -- Enable this to use vRP permission check
                        Permissions = {"police"} -- A user can have any of the following permissions, allowing you to add multiple
                    },
                },
                -- We've added QBCore integration. All you need to do is enable it below. Then, configure if you wish to check for jobs or permissions, or even both
                QBCore = {
                    Enabled = false,
                    CheckJob = {
                        Enabled = false, -- Enable this to use QBCore job check
                        Jobs = {"police"}, -- A user can have any of the following jobs, meaning you can add different jobs
                    },
                    CheckPermission = {
                        Enabled = false, -- Enable this to use QBCore permission check
                        Permissions = {"police"}, -- A user can have any of the following permissions, allowing you to add multiple
                    },
                },
                -- We've added QBX integration. All you need to do is enable it below. Then, configure if you wish to check for jobs or permissions, or even both
                QBX = {
                    Enabled = false,
                    CheckJob = {
                        Enabled = false, -- Enable this to use QBX job check
                        Jobs = {"police"}, -- A user can have any of the following jobs, meaning you can add different jobs
                    }
                },
        },
    },

    directionColours = {
        ["north"] = 17,
        ["south"] = 18,
        ["east"] = 17,
        ["west"] = 18,
    },

    -- Here you can translate the resource into another language
    translations = {
        selectSignHelp = "Select a smart motorways sign",
        editingSign = "Now editing sign ID: ",
        hasBeenSetTo = " has been set to: ",
        speedLimitOfLane = "Speed limit of lane ",
        symbolOfLane = "Symbol of lane ",
        speedUnit = "mph",
        resetAll = "All lanes have been reset.",
        resetSignsHelp = "Reset all Smart Motorways",
    },

    -- We do not recommend editing below this section:
    -- The offsets which the signs are placed at in comparison to the sign
    spawnOffsets = {
        -- Offsets for two lane setups
        [2] = {
            [1] = {x = -3.9, y = -2.1, z = 3.65},
            [2] = {x = 1.61, y = -2.1, z = 3.65}
        },
        -- Offsets for three lane setups
        [3] = {
            [1] = {x = -6.04, y = -2.2, z = 3.65},
            [2] = {x = -0.925, y = -2.2, z = 3.65},
            [3] = {x = 3.82, y = -2.2, z = 3.65}
        },
        -- Offsets for four lane setups
        [4] = {
            [1] = {x = -9.7801, y = -2.2, z = 3.65},
            [2] = {x = -3.21, y = -2.2, z = 3.65},
            [3] = {x = 2.52, y = -2.1, z = 3.65},
            [4] = {x = 8.0501, y = -2.1, z = 3.65}
        }
    },

    -- Here you can define the various locations of the signs around the map.
    -- Here you can configure the sound effect which is played when a sign is successfully updated
    soundEffect = {
        enabled = true,
        name = "CONFIRM_BEEP",
        dict = "HUD_MINI_GAME_SOUNDSET",
    },

    gantryModels = {
        [2] = `2_lane`,
        [3] = `3_lane`,
        [4] = `4_lane`,
    },
}

Instalação

  • Copie a pasta SmartMotorways para a sua pasta resources e adicione ensure SmartMotorways ao seu server.cfg.
  • Escolha o seu pacote de ícones (UK, EU ou US) e as permissões em config.lua.
  • Para o log no Discord, adicione seu próprio webhook em sv_utils.lua e defina logging.enabled como true.
Ler mais

Configuração do servidor

Guia passo a passo: como instalar um script de FiveM

Verificado: o único recurso deste download.

Nos seus downloads
  • JG Dealerships
    • ESX
    • QBCore, Qbox
    Não é para o seu framework

    JG Dealerships

    JG Scripts

    US$ 30,00US$ 21,00
  • Rádio do carro
    • ESX
    • QBCore, vRP
    Não é para o seu framework

    Car Music System V3 [Standalone]

    US$ 14,99US$ 10,49
  • Simple ESX HUD – prévia do recurso FiveM
    • ESX
    • Standalone, QBCore, Qbox

    Airbags Script

    Big Daddy

    US$ 9,00US$ 6,30
  • CodeM mCarControl
    • ESX
    • QBCore
    Não é para o seu framework

    CodeM mCarControl

    CodeM

    US$ 5,00US$ 3,50
  • Contract ESX
    • ESX
    Não é para o seu framework

    okokContract

    okok Scripts

    US$ 13,99US$ 9,79
  • Quasar Vehiclekeys 2.0 – prévia 2 do recurso FiveM
    • ESX
    • Standalone, QBCore, Qbox

    Quasar Vehiclekeys

    Quasar Scripts

    US$ 10,00US$ 7,00
  • Dragstrip
    • Standalone

    The Most Realistic Drag Strip

    Danylo Kabanov

    US$ 18,99US$ 13,29
  • Best CarPlay – prévia do recurso FiveM
    • Standalone

    Best CarPlay

    US$ 6,49US$ 4,54