Garry's Mod

Garry's Mod

Weapon Loadouts
ZAPierZeta 2015 年 1 月 19 日 上午 10:06
The Loadout tab wont display, errors resulting.
Ive been having an issue with this addon as of late, I cannot tell what is causing it but this is the mssage I get.

[ERROR] expected near 's'
1. unknown - table loading:0


[Weapon Loadouts] lua/autorun/weapon_loadout.lua:109: bad argument #1 to 'assert' (value expected)
1. assert - [C]:-1
2. loadData_server - lua/autorun/weapon_loadout.lua:109
3. getFullLoadouts - lua/autorun/weapon_loadout.lua:459
4. func - lua/autorun/weapon_loadout.lua:662
5. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:100
6. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:89
7. ActivateTool - lua/includes/modules/spawnmenu.lua:298
8. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:75
9. unknown - lua/vgui/dlabel.lua:206

Maybe theres a way this error can be fixed? Or maybe you know what might be breaking it? Any help would be apreciated.

To add, whenever you respawn, you get this error message aswell.

[Weapon Loadouts] lua/autorun/weapon_loadout.lua:109: bad argument #1 to 'assert' (value expected)
1. assert - [C]:-1
2. loadData_server - lua/autorun/weapon_loadout.lua:109
3. getFullLoadouts - lua/autorun/weapon_loadout.lua:459
4. func - lua/autorun/weapon_loadout.lua:490
5. unknown - lua/includes/modules/net.lua:32
最后由 ZAPierZeta 编辑于; 2015 年 1 月 19 日 上午 10:47
< >
正在显示第 1 - 10 条,共 10 条留言
pstrandthegamer 2015 年 1 月 19 日 上午 11:33 
same here
DoujinshiGod 2015 年 2 月 20 日 下午 5:23 
just got this today and i havent added/removed any addons recently, wtf
poopchudgamer423 2015 年 3 月 21 日 上午 6:55 
Me too
poopchudgamer423 2015 年 3 月 23 日 上午 9:05 
Try uninstalling Gmod, then go to C:\Program Files (x86)\Steam\steamapps\common, or if you changed the Steam directory to somewhere else, then go to that.
Then delete the GarrysMod folder.
Go back to Steam and install your game again.
Now the errors should be gone and you can use the addon properly again.
If this doesn't work, than I have no other idea, this method worked for me so why not give it a try.
ZAPierZeta 2015 年 3 月 26 日 下午 4:35 
Oh, thank you, I tried out what you did, and it works perfectly fine, the game seems to be running better in general too, really help out!
MarioandSonicFan21 2016 年 3 月 14 日 上午 6:08 
I had the same problem but i used Setup Wizard's advise and it worked.
最后由 MarioandSonicFan21 编辑于; 2016 年 3 月 14 日 上午 6:08
MastermindJake 2017 年 1 月 17 日 下午 11:30 
IS there a easyer way to do this
~Ash ☆~ 2017 年 4 月 16 日 下午 2:52 
引用自 jo1bobbie2
IS there a easyer way to do this

are u ♥♥♥♥♥♥' too lazy to just reinstall the game and delete ONE file from that game?
MastermindJake 2017 年 8 月 20 日 上午 3:07 
yes OwO
~Ash ☆~ 2017 年 8 月 20 日 上午 7:27 
引用自 Chara
yes OwO

me too XD
< >
正在显示第 1 - 10 条,共 10 条留言
每页显示数: 1530 50