Lumina Portal

Examples ELS

ELS for certain jobs only

Limit the control panel to police, ambulance and fire department.

Config

shared/config.lua
Config.AllowedJobs = { 'police', 'sheriff', 'ambulance', 'fire' }

The names must match the ESX job names exactly (column name of the jobs table). false allows every player.

Effect

  • Without a matching job no HUD appears and the horn is blocked in the driver seat.
  • The restriction also applies to placing the deployable light.
  • Managing in the admin panel is controlled separately by access in the hub.