Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRU XHMS Suit is broken #20

Open
CptPatriot opened this issue Sep 17, 2020 · 1 comment
Open

CRU XHMS Suit is broken #20

CptPatriot opened this issue Sep 17, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@CptPatriot
Copy link

CptPatriot commented Sep 17, 2020

Describe the bug
Right clicking the item gives you a script error, does not display any ability to drop or wear.

To Reproduce
Steps to reproduce the behavior:

  1. Spawn it in
  2. Right click on it
  3. Open console to see script error
  4. This is the script error below

**[ERROR] gamemodes/ixhl2rp/plugins/clothing/items/base/sh_fullfit.lua:25: attempt to index global 'itemtable' (a nil value)

  1. suppressed - gamemodes/ixhl2rp/plugins/clothing/items/base/sh_fullfit.lua:25
  2. AddOption - gamemodes/helix/plugins/dragdropinteraction/derma/cl_iteminteract.lua:106
    3. Build - gamemodes/helix/plugins/dragdropinteraction/derma/cl_iteminteract.lua:54
    4. v - gamemodes/helix/plugins/dragdropinteraction/derma/cl_iteminteract.lua:19
    5. Run - gamemodes/helix/gamemode/core/libs/sh_plugin.lua:478
    6. DoRightClick - gamemodes/helix/plugins/dragdropinteraction/derma/cl_itemicon.lua:59
    7. unknown - gamemodes/helix/plugins/dragdropinteraction/derma/cl_itemicon.lua:36**

Expected behavior
You're supposed to be able to wear it and drop it.

Additional context
N/A

@CptPatriot CptPatriot added the bug Something isn't working label Sep 17, 2020
@Jonesboyplays
Copy link

Ah, I had this issue with the CP outfit when I was trying to use this for the first time. I first solved it with a print function just before the line in question (line 25 for you). Just add a line and put this before it:
PLUGIN:Print(itemtable)
Best of luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants