BREAKING NEWS
TunasNewsJob is designed to turn NPC + Player events into competitive challenges !
Events that happen become unique scenes that members must go to and record. Whoever can record the scene & upload the footage first will receive the highest reward - with each entry earning less !
This script is highly configurable, and is broken down into 2 main categories
**Player Events (Dynamic)**
- Use existing scripts on your server to become " News " events
- Add News events with one simple line of code
- Uses player identifiers to combat abuse (relogging, multiple entries etc)
- Highly customizable details including level, reward, duration etc
- Tuna’s Power Job V1+2 compatible
**NPC Events (Static)**
- I really enjoyed adding this to the script, as It adds so many possibilities for scenarios
- Very configurable peds including individual toggle for custom streamed clothing or default peds, animations, and soon props ( props however the offsets will take forever, i might make fully functional soon)
- Vehicle pool that allows unique functions for each vehicle, ive provided some base functions and will build on that foundation
Add News + NPC events manually with a whitelisted command
Compatibility
This script was written and tested on ESX, I have included handler functions for ESX, QBCore, and standalone, aside from inventory check + money management, qbcore is basically standalone; ; Functions have been tested on both ESX and QBCore servers OneSnyc ENABLED (infinity untested)
Requirements
1.) skinchanger or qb-clothing
GitHub - mitlight/skinchanger: skinchanger For FiveM
2.) progressbars ( can be easily switched out )
[RELEASE] Progress Bars 1.0 [STANDALONE]
3.) screenshot-basic (for uploading screenshots to discord)
Developers
Listening for current events on your server in /config/config.js
// template :
{
name: ’ ', // String: The server event name goes here, it must be case sensitive
label: ’ ', // String: This is the label that is displayed to the reporters
timeout: 600, // Number: footage deadline - in seconds
level: 0, // Number: 0 - local | 1 - crime | 2 - traffic/industrial | 3 - Breaking News | 4+ Special Event
pos: null // Obj: Set as null if multiple locations or {x: Number, y: Number, z: Number}
},Adding News Functions takes one event on the server (use emit() for js )
TriggerEvent(‘TunasNewsJob:addEvent’,
eventName: string, // REQUIRED, this is the server event name, case sensitive
eventLabel: string, // REQUIRED, this is the headline
eventPos: { x: number, y: number, z: number}, // REQUIRED
eventLevel: number, // OPTIONAL,
timeout: number, // OPTIONAL
maxSubmissions: number // OPTIONAL
)
Other Notes
- 10 pre-configured NPC events (Busts | Raids | heli crash | plane crash | Traffic | Goofy )
- Optional job requirement, handles notifications, data etc
- Optional multi job menu location (if enabled, players upload at closest weazel news)
- Competitive mode enabled by default (players can earn same amount if preferred )
- Optional webhook to post breaking news updates
- 2 Manual commands to enable News Events + spawn NPC events (uses ace perms)
- Client sync for npc vehicle events - will not trigger until a player is in render range
- Optional vehicle render config option to help sync (have not needed it so far, left it there in case)
- Idle usage: approx cpu 0.00 ms | 0.00% | memory can vary based on config
- Near Zone usage: cpu 0.5-0.10 ms | 0.8- 1.0% memory
- Using scaleform when recording is most intense function - varies
**Can I edit the code ? **
Yes & No - I understand there is a lot of thoughts on the Asset Escrow system, and with that said I have decided the following -
– I am offering 2 options, one that provides access to all files, and one that uses FiveM’s Asset Escrow system, if you use select escrow, please ensure your server is updated to at least artifact version 5181
to enable escrow and lua54 read more here
Purchase on Tebex
WITH ESCROW: $ 18.99 USD
tebex: Tuna’s News Job [ With ESCROW ]
NO ESCROW: $ 39.99 USD
tebex: Tuna’s News Job [ Non Escrow ]
|-------------------------------------|------------------------------||----------------------------------------------------------------------------------------|
| Code is accessible------| Yes— Non escrow || No - Config + Utility access only - With escrow
|-------------------------------------|------------------------------||----------------------------------------------------------------------------------------|
| Subscription-based-----| No
| Lines (approximately)-| ~3000, (50% is config)
| Requirements--------------| ESX or QBCORE - Standalone requires item / job check / payment functions|
| Support-----------------------| Yes , reach out here or discord
|-------------------------------------|------------------------------||----------------------------------------------------------------------------------------|
If you enjoy, check out some of my other work: