Skip to main content
A server-wide job announcement system. On-duty members of permitted jobs run /jobad <message> to broadcast a styled notification to everyone. Each job gets its own title, image, and border color — so Mechanic ads look different from Police ads look different from LifeInvader ads.

Features

  • /jobad <message> command — branded broadcast to every player
  • Per-job styling — custom title, image URL, border color
  • Configurable cooldown (default 5 min per job)
  • Exempt jobs list — event / police / EMS bypass cooldown
  • Auto-signed messages — specific jobs append ”- Regards, PlayerName”
  • Zweitjob support — broadcast as secondary faction
  • DB + static fallback — configure in DB or inline Config.StaticJobAds

Requirements

Required

es_extended, ox_lib, oxmysql

Configuration

Configure ads via DB:
Or inline via Config.StaticJobAds:
config.lua
Cooldown, command name, exempt jobs, auto-signed jobs, and the official/event split are all configurable.

Hooks

See Hooks reference / JobAds. Key hook: Hooks.ShowAnnouncement(title, message, type, jobId, imageUrl, borderColor) — wire to your announcement NUI. Exports: getJobadConfig, sendJobAd, refreshCache.

Resource info

Code accessible: config.lua, hooks.lua, locales/*. Approximately 500 lines of Lua. English + German.