Turn Signals

6€

This scripts allows for very efficient vehicle signals sync It uses State Bags instead of events and are therefor extremely light on the network


✅ Turn signals
✅ Network sync (Uses StateBags, not heavy on the network at all)
⚠️ Uses FiveM Asset Escrow system
⚠️ Requires OneSync (Not working with OneSync Legacy)

1.0.3

✅ Update whitelist to latest ESX


1.0.2

✅ Bugfix GetNetworkObject
✅ Remove logs when not in a vehicle


1.0.1

✅ Add export to disable keybind (while in menus for example) : exports.VehicleSignal:DisableBind(true)
✅ ESX disable keybind while in menus
✅ Add option to disable the "No vehicle" notification


1.0.0

✅ Network synced signal


Nabla.LogLevel = Nabla.LogLevels.WARN -- Log levels are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (default is WARN)

Config = {

  -- Please check our FAQ if you have any question : https://fivem.nabla.sh/faq

  -- Keybinds, you can choose from here : https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/
  DefaultControls = function()
    RegisterKeyMapping('+signal_left',     'Signals - Left Signal',         'KEYBOARD',  'LEFT') -- Signal to the left
    RegisterKeyMapping('+signal_right',    'Signals - Right Signal',        'KEYBOARD', 'RIGHT') -- Signal to the right
    RegisterKeyMapping('+signal_hazards',  'Signals - Hazards',             'KEYBOARD',  'DOWN') -- Hazards
  end,

  -- Should a notif be sent if a user press a keybind but no vehicle is in range ?
  NoVehNotif = false,

  Strings = {
    ['no_veh']  = 'No vehicle nearby',
  },

}

local prev = nil
function ShowNotification(message)
  if prev ~= nil then
    RemoveNotification(prev)
  end
  AddTextEntry(GetCurrentResourceName().."Notif", Config.Strings[message])
  BeginTextCommandThefeedPost(GetCurrentResourceName().."Notif")
  prev = EndTextCommandThefeedPostTicker(false, false)
end
Keybind / Command Action
Activate left turn signal
Activate right turn signal
Activate hazards lights
5
  • 1
  • 0
  • 0
  • 0
  • 0
  • NorseLegend

    3/8/2022

    Like : Both scripts work great and the support is spot on.
    Dislike : Price was a bit more than I wanted to spend but very much worth it.