Skip to content

Console Error When Turning on TKDN Lights in Custom Car #220

@isaiahwiesner

Description

@isaiahwiesner

Expected Behaviour

No errors from photon when TKDN illumination is enabled

Actual Behaviour

Error

Error Messages (if any)

[Photon Lighting Engine] lua/autorun/photon/sv_emv_meta.lua:130: bad argument #1 to 'pairs' (table expected, got nil)
  1. pairs - [C]:-1
   2. ELS_IllumOn - lua/autorun/photon/sv_emv_meta.lua:130
    3. Illumination - lua/autorun/photon/sv_emv_net.lua:75
     4. func - lua/autorun/photon/sv_emv_net.lua:85
      5. unknown - lua/includes/extensions/net.lua:38

Steps to Reproduce

  1. Add TKDN to illumination in vehicle LUA file:
EMV.Sequences = {
  Illumination = {
      { Name = "TKDN", Stage = "T", Components = {}, Disconnect = {} } 
  }
}
  1. Toggle by pressing X

Details

  • Source (Workshop / Github):
  • Garry's Mod Beta/Branch (if not standard): x86-64 - Chromium + 64-bit binaries

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething's broken that shouldn't be.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions