Garry's Mod

Garry's Mod

Weapon Loadouts
ZAPierZeta 19. jan. 2015 kl. 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
Sidst redigeret af ZAPierZeta; 19. jan. 2015 kl. 10:47
< >
Viser 1-10 af 10 kommentarer
pstrandthegamer 19. jan. 2015 kl. 11:33 
same here
DoujinshiGod 20. feb. 2015 kl. 17:23 
just got this today and i havent added/removed any addons recently, wtf
poopchudgamer423 21. mar. 2015 kl. 6:55 
Me too
poopchudgamer423 23. mar. 2015 kl. 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 26. mar. 2015 kl. 16: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 14. mar. 2016 kl. 6:08 
I had the same problem but i used Setup Wizard's advise and it worked.
Sidst redigeret af MarioandSonicFan21; 14. mar. 2016 kl. 6:08
MastermindJake 17. jan. 2017 kl. 23:30 
IS there a easyer way to do this
~Ash ☆~ 16. apr. 2017 kl. 14:52 
Oprindeligt skrevet af 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 kl. 3:07 
yes OwO
~Ash ☆~ 20. aug. 2017 kl. 7:27 
Oprindeligt skrevet af Chara:
yes OwO

me too XD
< >
Viser 1-10 af 10 kommentarer
Per side: 1530 50