beacon
New in V3 - Window and beacon animation.
The beacon - known in Dutch as "pitje" - is a removable or pop-up roof light, typically a single magnetic beacon placed on top of the vehicle by hand.
Usage
Default Key: PAGE UP
When toggled, the beacon:
- 1
Opens the driver window
Rolls the driver window down.
- 2
Plays a hand animation
The driver reaches up as if placing a beacon on the roof.
- 3
Toggles the configured extras
Toggles the configured extras on or off.
- 4
Closes the window
Closes the window again after a short delay.
The animation and window interaction are optional and controlled by the beaconAnimationEnabled setting in config.lua.
Configuration
pitje = {9}, -- Extra 9 is the beacon light
Disabling the Animation
If you want the beacon to toggle instantly without the placement animation:
-- In Config.Settings (config.lua)
beaconAnimationEnabled = false,
Exclude from Siren
The beacon is typically listed in excludeSiren to prevent it from activating the native GTA siren effect:
excludeSiren = {'pitje'},