Garry's Mod

Garry's Mod

Weapon Loadouts
ZAPierZeta 19 Jan, 2015 @ 10:06am
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
Last edited by ZAPierZeta; 19 Jan, 2015 @ 10:47am
< >
Showing 1-10 of 10 comments
pstrandthegamer 19 Jan, 2015 @ 11:33am 
same here
DoujinshiGod 20 Feb, 2015 @ 5:23pm 
just got this today and i havent added/removed any addons recently, wtf
Gebruikersnaam 21 Mar, 2015 @ 6:55am 
Me too
Gebruikersnaam 23 Mar, 2015 @ 9:05am 
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 26 Mar, 2015 @ 4:35pm 
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!
I had the same problem but i used Setup Wizard's advise and it worked.
Last edited by MarioandSonicFan21; 14 Mar, 2016 @ 6:08am
MastermindJake 17 Jan, 2017 @ 11:30pm 
IS there a easyer way to do this
~Ash ☆~ 16 Apr, 2017 @ 2:52pm 
Originally posted by 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 20 Aug, 2017 @ 3:07am 
yes OwO
~Ash ☆~ 20 Aug, 2017 @ 7:27am 
Originally posted by Chara:
yes OwO

me too XD
< >
Showing 1-10 of 10 comments
Per page: 1530 50