TrevorBarns / luxart-vehicle-control

A siren / (non-els) emergency lights controller for FiveM.
https://www.luxartengineering.com/
GNU General Public License v3.0
135 stars 56 forks source link

[BUG] Lights are stuck on, horn or siren not working #86

Open QBrysonQLive opened 1 year ago

QBrysonQLive commented 1 year ago

Installed Version (Base and Plugin if applicable) base: v3.9.9 - extra integration: v1.9.9

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

Getting this error code:

SCRIPT ERROR: @lvc/UTIL/cl.utils.lua:46: bad argument #1 to 'gsub' (string expected, got nil)

GetProfileFromTable (@lvc/UTIL/cl.utils.lua:46) UpdateApprovedTones (@lvc/UTIL/cl.utils.lua:105) handler (@lvc/UTIL/cl.utils.lua:215) fn (@lvc/UTIL/cl.utils.lua:187)

TrevorBarns commented 1 year ago

Currently your gameNames must have 1 letter or more.

QBrysonQLive commented 1 year ago

what do you mean by gameNames?

TrevorBarns commented 1 year ago

https://docs.luxartengineering.com/v3/resource-installation/assign-sirens#siren_assignements-table