Installation

Installation

Download files

Download the files from keymaster (opens in a new tab) and add to your resources folder.

Configure

Configure the script to your liking.

Add to server.cfg

Add ensure lb-newsapp to your server.cfg. Make sure to start it after lb-phone.

Run SQL files

Run the news.sql file using HeidiSQL.

ESX

If you use ESX, you need to run the esx.sql file to add the reporter job. You may need to delete the predefined job first.

QB Core

If you use QB Core, you need to manually add the reporter job. You may need to delete the predefined job first.

  1. Open qb-core/shared/jobs.lua
  2. Add the following:
reporter = {
    label = 'Reporter',
    defaultDuty = true,
    offDutyPay = false,
    grades = {
        ['0'] = { name = 'Reporter', payment = 25 },
        ['1'] = { name = 'Editor', payment = 50 },
        ['2'] = { name = 'Editor-in-Chief', payment = 100 },
        ['3'] = { name = 'CEO', payment = 150 },
    },
},