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

fix #8

Open
genrihx2 opened this issue Aug 22, 2023 · 6 comments
Open

fix #8

genrihx2 opened this issue Aug 22, 2023 · 6 comments

Comments

@genrihx2
Copy link

populateBodygroupsPanel true

[wardrobe] addons/wardrobe/lua/wardrobe/wardrobegui_v2.lua:123: bad argument #1 to 'SetSkin' (number expected, got table)

  1. SetSkin - [C]:-1
  2. populateBodygroupsPanel - addons/wardrobe/lua/wardrobe/wardrobegui_v2.lua:123
    3. buildSelectionSheet - addons/wardrobe/lua/wardrobe/wardrobegui_v2.lua:678
    4. buildDefaultSheets - addons/wardrobe/lua/wardrobe/wardrobegui_v2.lua:996
    5. unknown - addons/wardrobe/lua/wardrobe/wardrobegui_v2.lua:1057
    6. unknown - lua/includes/modules/concommand.lua:54
@CaveeJohnson
Copy link
Owner

This is obviously caused by something else or an undoucmented change to gmod, since the api documentation is unchanged.

ent:SetSkin(ply:GetSkin())

It literally is just calling ent:SetSkin(ply:GetSkin()), which take a number and return a number, respectively.

https://wiki.facepunch.com/gmod/Entity:SetSkin
https://wiki.facepunch.com/gmod/Entity:GetSkin

@genrihx2 If you want any more help you need to isolate what's going on;

  1. only latest update?
  2. replicatable on server with no other addons?
  3. does it always happen or only for specific things?

@CaveeJohnson
Copy link
Owner

Furthermore, no evidence of changes in gmod repo, gmod changelog, or gmod issue tracker.

@genrihx2
Copy link
Author

@CaveeJohnson version 1.6.0 BETA: Wardrobe
other additions admin badmin sam admin

image

@CaveeJohnson
Copy link
Owner

the addon hasn't changed for years, i'm telling you to test or tell me about these 3 things about GMOD

@genrihx2
Copy link
Author

As soon as I installed the addon and soot errors. wardrobe

@genrihx2
Copy link
Author

image

image

image

works gamemodes sandbox wardrobe
does not work gamemodes darkrp wardrobe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants