πΉNews Job
A weazel news job with a custom overlay, built in dispatch system and utilities for reporters.
Client Exports
Custom Alert Example:
local coords = GetEntityCoords(PlayerPedId())
exports.randol_newsjob:SendAlert({
title = 'FLEECA BANK ROBBERY',
coords = coords,
description = 'An alarm has been tripped at Fleeca Bank on Hawick Avenue.',
icon = 'fa-building-columns',
blip = { sprite = 272, label = 'Bank Robbery', color = 1, scale = 1.2, flash = true}
})Preset Alert:
-- coords is optional. If not defined, it'll grab the ped's coords.
exports.randol_newsjob:ShotsFired(coords)Return exports:
exports.randol_newsjob:isOverlayDisplayed() -- returns boolean
exports.randol_newsjob:isCameraActivated() -- returns booleanReporter Tools
Default keybind is F9. Can be changed in your FiveM settings.
Server Exports
Last updated