Can't add custom music to pcmod (using a fixed version, works until I extract)
0 replies, posted
EDIT: Works fine when not trying to add custom music...
So I extracted pcmod 15 fixed (on workshop) trying to add custom music, I followed everything including the format
When trying to add custom music.
[code] "Name" ] = {
{ "Song name", "Song path" },
}, [/code]
I get this error on spawning a keyboard, printer, ect
[code]sv_wiring.lua:23: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. TypeToName - addons/pcmod_15_[fixed]_+_updated_612756292/lua/pcmod/sv_wiring.lua:23
3. CreatePort - addons/pcmod_15_[fixed]_+_updated_612756292/lua/entities/pcmod_base/shared.lua:184
4. Setup - addons/pcmod_15_[fixed]_+_updated_612756292/lua/entities/pcmod_tower/shared.lua:34
5. SpawnEntity - addons/pcmod_15_[fixed]_+_updated_612756292/lua/pcmod/sh_tool.lua:88
6. LeftClick - addons/pcmod_15_[fixed]_+_updated_612756292/lua/pcmod/sh_tool.lua:213
7. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:254[/code]
But it gets worse, when trying to spawn a monitor/laptop, I get these errors
[code]lua/pcmod/cl_2d3d.lua:332: attempt to compare nil with number
1. DrawScreen - addons/pcmod_15_[fixed]_+_updated_612756292/lua/pcmod/cl_2d3d.lua:332
2. unknown - addons/pcmod_15_[fixed]_+_updated_612756292/lua/entities/pcmod_base/shared.lua:781[/code]
Help?
Sorry, you need to Log In to post a reply to this thread.