👾 Paid💼 JobsNews Job⚙️ Configurations

Configuration

shared/sh_main.lua
SHMain = {
    UseGroups = false, -- You can make your language in Locale
    SetLocale = 'en', -- You can make your language in Locale
    Other = {
        CameraProp = "bulgar_cam_01",
        SecondsToCapture = 15, -- Seconds
        InterviewNearby = 5, -- Interview nearby peds
        LocationsZoneDist = 40.0, -- Locations zone distance
        PedInterviewDist = 3.0, -- Ped interview distance
        InterviewProgBar = 30000, -- Progressbar time
    },
    Items = { -- Items
        EmptyTape = "emptynewstape",
        Tape = "newstape",
        Camera = "newscamera",
        Mic = "newsmic",
        Interview = "newsinterview",
    },
    CoolDowns = { -- Cooldowns
        PlayerCooldown = 30, -- Player cooldown (minutes)
        QueueCooldown = 10, -- Queue cooldown (minutes)
    },
    CheckTimes = { -- Check times
        QueueCheckJob = 2, -- Check for job (minutes)
        WorkCoolDown = 3, -- Check for cooldown (minutes)
        QueueCooldown = 3, -- Check for queue cooldown (minutes)
    },
    WorkChance = { -- Work chance settings
        Enable = false, -- Enable chance
        GiveWorkChance = 70, -- Chance to get work in %
        Func = function(OtherChance) -- Chance function
        -- If you want you can make your own chance logic here
        -- Just need to return true or false and chance for the debug print
            local chance = math.random(1, 100)
            if chance == OtherChance then
                return true, chance
            end
            return false, chance
        end,
    },
    Money = { -- Money settings
        Type = 'cash', -- Money type (cash or bank)
        SellItem = 50, -- Sell money amaount 50 per 1 item
        Reason = 'News Job',
    },
    KeyBind = {
        Bind = 'B',
        Description = 'Open News Camera',
    },
    ShopPrices = {
        ["emptynewstape"] = 50,
        ["newscamera"] = 50,
        ["newsmic"] = 50,
    },
    Vehicle = {
        Model = "rumpo",
        Coords = vec4(-616.5999, -925.7980, 22.9463, 113.9979),
    },
    NPCS = {
        {
            Enable = true, -- Npc Location Enable
            Blip = true, -- Npc Location Blip
            Name = 'NewsJobStartNPC', -- Npc id for the target
            Model = "csb_reporter",
            coords = vec4(-598.2527, -929.8358, 23.8691, 86.5981),
            Target = {
                {
                    event = 'bd-newsjob:[Client]:CheckQueue',
                    icon = 'fa-solid fa-clock',
                    label = 'StartFinishWork',
                },
                {
                    event = 'bd-newsjob:[Client]:ExchangeItems',
                    icon = 'fa-solid fa-tape',
                    label = 'FinishWork',
                },
                { 
                    event = 'bd-newsjob:[Client]:Shop',
                    icon = 'fa-solid fa-basket-shopping',
                    label = 'Shop',
                },
            }
        },
    },
    BlipsSettings = { -- Blips settings
        ["JobBlip"] = {
            ["Sprite"] = 744,
            ["Color"] = 6,
            ["Scale"] = 0.7,
            ["Name"] = "Weazel News",
        },
    },
    Topics = {
        {
            Title = "Local Business Story", -- JobStatus title and Blip name
            Topics = "Local Businesses, Spending Habits, Price Fluctuations, etc",
        },
        {
            Title = "Recent Business Robbery Story", -- JobStatus title and Blip name
            Topics = "Rise in Crime, Local Security, Police Response, Times, Arming Themselves, etc",
        },
        {
            Title = "Community Event Highlights", -- JobStatus title and Blip name
            Topics = "Local Festivals, Community Gatherings, Cultural Celebrations, Fundraisers, etc",
        },
        {
            Title = "Health and Wellness Updates", -- JobStatus title and Blip name
            Topics = "Public Health Initiatives, Local Healthcare Services, Wellness Programs, Fitness Trends, etc",
        },
        {
            Title = "Education and Schools Report", -- JobStatus title and Blip name
            Topics = "School Achievements, Educational Programs, Student Activities, Teacher Highlights, etc",
        },
        {
            Title = "Environmental Concerns Story", -- JobStatus title and Blip name
            Topics = "Pollution Issues, Conservation Efforts, Local Wildlife, Sustainable Practices, Climate Change Impact, etc",
        },
        {
            Title = "Local Politics and Governance", -- JobStatus title and Blip name
            Topics = "City Council Meetings, Policy Changes, Local Elections, Government Initiatives, Community Feedback, etc",
        },
        {
            Title = "Arts and Entertainment News", -- JobStatus title and Blip name
            Topics = "Local Art Exhibits, Music Events, Theatre Productions, Film Screenings, Artist Spotlights, etc",
        },
        {
            Title = "Technology and Innovation", -- JobStatus title and Blip name
            Topics = "Startup Ecosystem, Tech Meetups, Innovation Hubs, Digital Transformation, Tech Education, etc",
        },
        {
            Title = "Real Estate and Housing Market", -- JobStatus title and Blip name
            Topics = "Property Prices, Housing Development, Real Estate Trends, Home Buying Tips, Market Analysis, etc",
        },
    },
    Locations = {
        {LocationCoords = vec4(29.0119, -1349.5768, 29.3219, 3.1124)},
        {LocationCoords = vec4(-1183.6263, -884.3598, 13.7999, 120.1826)},
        {LocationCoords = vec4(295.4540, 185.1466, 104.2434, 161.6662)},
        {LocationCoords = vec4(151.0581, -1035.7122, 29.3397, 340.2481)},
        {LocationCoords = vec4(242.9081, -1071.1448, 29.2857, 356.1380)},
        {LocationCoords = vec4(1138.2677, -470.8236, 66.6682, 270.6056)},
        {LocationCoords = vec4(1149.9570, -773.4452, 57.6243, 348.4099)},
        {LocationCoords = vec4(1081.5527, -703.6751, 57.7704, 108.5724)},
        {LocationCoords = vec4(-1439.8525, -107.0829, 50.7938, 31.1662)},
        {LocationCoords = vec4(-1675.7091, -1061.4872, 13.1536, 48.1226)},
    },
    Locale = { -- Locales. You can make your own
        ['en'] = {
            ['StartFinishWork'] = 'Start/Stop the job',
            ['FinishWork'] = 'Footage Dropoff and Complete!',
            ['Shop'] = 'Shop',
            ['FoundWork'] = 'We found work for you!',
            ['NoGroup'] = 'You are not in a group!',
            ['NoLeader'] = 'You are not the group leader!',
            ["Travel"] = "Travel to the location of the news story",
            ["Capture"] = "Capture B-Roll footage of the location with a news camera %d/%d seconds captured",
            ["InterviewNearby"] = "Interview those nearby for their input on the story %d/%d interviews completed Possible Interview Topics: %s",
            ["Deliver"] = "Deliver the B-Roll footage and any interview transcripts to the news station",
            ["Progressbar"] = "Interviewing...",
            ["AlreadyInterviewed"] = "Already Interviewed",
            ["ReturnBlip"] = "Weazel News",
            ["NoMic"] = "You don't have microphone",
            ["NoCamera"] = "You don't have camera",
            ["NoTape"] = "You don't have empty tape",
            ["InterviewText"] = "To Interview Ped",
            ["QueueWait"] = "Waiting for a news story",
            ["JoinedQueue"] = "You joined the queue, Wait for work.",
            ["LeavedQueue"] = "You left the queue.",
            ["InterviewPlayer"] = "G - Accept | H - Deny you have 5 seconds to chose",
            ["InterviewPlayerDeny"] = "Player denied interview request.",
            ["NotEnoughMoney"] = "Not enough Money.",
        },
        ['bg'] = {
            ['StartFinishWork'] = 'Започване/Спиране на работата',
            ['FinishWork'] = 'Предаване на кадрите и завършване!',
            ['Shop'] = 'Магазин',
            ['FoundWork'] = 'Намерихме работа за вас!',
            ['NoGroup'] = 'Не сте в група!',
            ['NoLeader'] = 'Вие не сте лидерът на групата!',
            ['Travel'] = 'Пътувайте до мястото на новината',
            ['Capture'] = 'Заснемете кадри от мястото с новинарска камера %d/%d секунди заснети',
            ['InterviewNearby'] = 'Интервюирайте околните за тяхното мнение по темата %d/%d интервюта завършени. Възможни теми за интервю: %s',
            ['Deliver'] = 'Доставете заснетите кадри и всички транскрипти от интервютата в новинарската станция',
            ['Progressbar'] = 'Интервюиране...',
            ['AlreadyInterviewed'] = 'Вече интервюиран',
            ['ReturnBlip'] = 'Weazel News',
            ['NoMic'] = 'Нямате микрофон',
            ['NoCamera'] = 'Нямате камера',
            ['NoTape'] = 'Нямате празна касета',
            ['InterviewText'] = 'За да интервюирате Пед',
            ['QueueWait'] = 'Чакане за новина',
            ['JoinedQueue'] = 'Присъединихте се към опашката, изчакайте за работа.',
            ['LeavedQueue'] = 'Напуснахте опашката.',
            ['InterviewPlayer'] = 'G - Приемете | H - Откажете, имате 5 секунди да изберете',
            ['InterviewPlayerDeny'] = 'Играчът отказа искането за интервю.',
            ['NotEnoughMoney'] = 'Нямате достатъчно пари.',
        }
    },
}