💻Installation

CONTACT ME > Discord: Noelort or Gmail: risenetworkgta@gmail.com

INSTALL

  • Configure the resource to your liking, remember to do it well and if you set a job, add everything it asks for even if you are not going to use it later.

  • If you use lb-voltic-app remember to add the jobs that will be able to use the app.

    • lb-voltic-app > client.lua

      local allowedJobs = {
          ["police"] = true,
          ["gatto"] = true
      }

  • It is recommended to use: core > shared > jobs.lua

    • The operation is to make that when a player enters the server or is changed of work he will be out of service and thus not to have problems at the time of clocking and accounting hours.

defaultDuty = false,
QBShared.ForceJobDefaultDutyAtLogin = true 

TRANSLATION

To translate the resource is simple, just go directly to these paths

locales.lua At the end of this code you can select the language, add new languages following the example of ES and EN.

CONFIG

Config = {}

-- Configuration of stores & bluips
Config= {
    CooldownMinutos = 1, -- Cooldown announcements
    Tiendas = {
        ["gatto"] = { 
            Pos = vector3(-2052.17, -504.32, 11.68), -- Blip coordinates
            Name = "Gatto BeachClub",
            Blip = 614,
            enableBlip = true,
        },
        ["police"] = { 
            Pos = vector3(-2052.17, -504.32, 11.68), -- Blip coordinates
            Name = "Police Dep",
            Blip = 614,
            enableBlip = false,
        },
    },-- You can add more stores or services if you wish
}

Config.Jobs = {
    ['gatto'] = 3,  -- Set the Level/Range that can access commands for bosses (Reset hours)
    ['police'] = 3
}

Config.Webhooks = {
    ['fichajeStatus'] = "https://discord.com/api/webhooks/1300076363998302229/se9wy8XcBGaLMeLWxWJHbdMeTh64FuUpFDBNMbXvT0prwMIGHx3I6ZMJXTds0qBQ24yd", -- Webhook administration / control duty on and duty off
    ['police'] = "",
    ['gatto'] = "https://discord.com/api/webhooks/1298228324543234070/aqg9DhQI_M8fz2ETbl0efm-F-ZIxrSg-Dcms3_y7K7WYbCS3z3p5u_3fg-upYS5BPrIu"
}

Config.Commands = {
    Anuncio = 'announcement',      --  Command for announcements
    Fichaje = 'voltic',       -- Command to display the same buttons as on the phone but in ox_lib
    ToggleDuty = 'duty'        -- Command to On/Off Duty
}

Última actualización