indicators
The control panel includes a full indicator system with automatic cancellation - behaving like real-world turn signals.
Usage
| Action | Default Key |
|---|---|
| Left indicator | Arrow LEFT |
| Right indicator | Arrow RIGHT |
| Hazard lights | BACKSPACE |
Each indicator is a toggle. Pressing the same direction again turns it off. Activating a different direction switches to that direction.
Auto-Cancel
Indicators automatically cancel after you complete a turn. The system works by tracking your vehicle's heading change:
- 1
When you activate an indicator
The script records your current heading.
- 2
While driving above 10 km/h
It tracks how far the vehicle has turned in the correct direction (left indicator = turning left, right indicator = turning right).
- 3
Once the accumulated turn angle exceeds 20°
A timer starts.
- 4
After 1.5 seconds
The indicator turns off automatically.
Hazard lights are not auto-cancelled - they stay on until manually toggled off.
Sound
A short UI sound plays when toggling indicators. This can be disabled in the settings panel or via the toggleIndicatorSoundEnabled setting.
Sync
Indicators are synchronized to all players via a server event, so other players see your turn signals in real-time.