Lumina Portal

Examples ELS

Create your own siren profile

For example a customs profile with its own tone order.

1. Add the profile

shared/config.lua
-- in Config.Profiles
customs = { label = 'profile_customs', tones = { 'hilo', 'yelp' }, horn = 'airhorn' },

2. Translate the name

label is a locale key. Add it to every file in locales/:

locales/en.lua
profile_customs = 'Customs',
locales/de.lua
profile_customs = 'Zoll',

3. Assign a vehicle

After restarting the resource choose the profile under Vehicles in the admin panel, or add it to Config.Vehicles:

shared/config.lua
-- in Config.Vehicles
police4 = 'customs',