Installation
Install all dependencies
Download and install the following dependencies:
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 start 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.
QBCore
If you use QBCore, you need to manually add the reporter job. You may need to delete the predefined job first.
- Open
qb-core/shared/jobs.lua - 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 },
},
},