安裝 Steam						
					
				
				
									登入
											 | 
						語言
						
																																					簡體中文
																																							日本語(日文)
																													한국어(韓文)
																													ไทย(泰文)
																													Български(保加利亞文)
																													Čeština(捷克文)
																													Dansk(丹麥文)
																													Deutsch(德文)
																													English(英文)
																													Español - España(西班牙文 - 西班牙)
																													Español - Latinoamérica(西班牙文 - 拉丁美洲)
																													Ελληνικά(希臘文)
																													Français(法文)
																													Italiano(義大利文)
																													Bahasa Indonesia(印尼語)
																													Magyar(匈牙利文)
																													Nederlands(荷蘭文)
																													Norsk(挪威文)
																													Polski(波蘭文)
																													Português(葡萄牙文 - 葡萄牙)
																													Português - Brasil(葡萄牙文 - 巴西)
																													Română(羅馬尼亞文)
																													Русский(俄文)
																													Suomi(芬蘭文)
																													Svenska(瑞典文)
																													Türkçe(土耳其文)
																													tiếng Việt(越南文)
																													Українська(烏克蘭文)
																									回報翻譯問題
							
						
 
											 
													







[Weapon Loadouts]
lua/autorun/weapon_loadout.lua:233: bad argument #1 to 'TableToKeyValues' (table expected, got nil)
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. loadData - lua/autorun/weapon_loadout.lua:238
4. getFullLoadouts - lua/autorun/weapon_loadout.lua:464
5. func - lua/autorun/weapon_loadout.lua:490
6. unknown - lua/includes/extensions/net.lua:33
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. getMostLoadouts - lua/autorun/weapon_loadout.lua:238
4. WL_FGlobal_ModifyLoad - lua/autorun/weapon_loadout.lua:736
5. func - lua/autorun/weapon_loadout.lua:654
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:134
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:126
8. ActivateTool - lua/includes/modules/spawnmenu.lua:116
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:131
10. unknown - lua/vgui/dlabel.lua:237
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. loadData - lua/autorun/weapon_loadout.lua:238
4. getFullLoadouts - lua/autorun/weapon_loadout.lua:464
5. func - lua/autorun/weapon_loadout.lua:662
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:134
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:126
8. ActivateTool - lua/includes/modules/spawnmenu.lua:116
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:131
10. unknown - lua/vgui/dlabel.lua:237
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. loadData - lua/autorun/weapon_loadout.lua:238
4. getFullLoadouts - lua/autorun/weapon_loadout.lua:464
5. func - lua/autorun/weapon_loadout.lua:490
6. unknown - lua/includes/extensions/net.lua:33
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. getMostLoadouts - lua/autorun/weapon_loadout.lua:238
4. WL_FGlobal_ModifyLoad - lua/autorun/weapon_loadout.lua:736
5. func - lua/autorun/weapon_loadout.lua:654
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:134
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:126
8. ActivateTool - lua/includes/modules/spawnmenu.lua:116
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:131
10. unknown - lua/vgui/dlabel.lua:237
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. getMostLoadouts - lua/autorun/weapon_loadout.lua:238
4. WL_FGlobal_ModifyLoad - lua/autorun/weapon_loadout.lua:736
5. func - lua/autorun/weapon_loadout.lua:654
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:134
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:126
8. ActivateTool - lua/includes/modules/spawnmenu.lua:116
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:131
10. unknown - lua/vgui/dlabel.lua:237
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. loadData - lua/autorun/weapon_loadout.lua:238
4. getFullLoadouts - lua/autorun/weapon_loadout.lua:464
5. func - lua/autorun/weapon_loadout.lua:662
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:134
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:126
8. ActivateTool - lua/includes/modules/spawnmenu.lua:116
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:131
10. unknown - lua/vgui/dlabel.lua:237
2. saveData - lua/autorun/weapon_loadout.lua:233
3. getMostLoadouts - lua/autorun/weapon_loadout.lua:238
4. WL_FGlobal_ModifyLoad - lua/autorun/weapon_loadout.lua:736
5. func - lua/autorun/weapon_loadout.lua:654
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:134
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:126
8. ActivateTool - lua/includes/modules/spawnmenu.lua:116
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:131
10. unknown - lua/vgui/dlabel.lua:237
This mod seriously is a must have, and I love it.
it was working before I switched computers (it still works now but creates an error)
but just recently it started creating a lua error whenever i spawn a VJ SNPC...
2. Becomes completely nonfunctional when any ammo has a negative amount
Go into steamapps\common\GarrysMod\garrysmod\data\weapon_loadouts and you'll find a file called weapon_loadouts.txt (IF YOU DON"T, YOU NEED TO MAKE IT)
Open it, CTRL + A, and delete it all.
This should reset your data and you should be good
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. loadData - lua/autorun/weapon_loadout.lua:238
4. getFullLoadouts - lua/autorun/weapon_loadout.lua:464
5. func - lua/autorun/weapon_loadout.lua:662
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:100
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:89
8. ActivateTool - lua/includes/modules/spawnmenu.lua:287
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:132
10. unknown - lua/vgui/dlabel.lua:237
This happens when you're trying to open up the loadouts
The addon works if you already had a loadout saved. Ask a friend's for their save file. That is what I did. It can be found in steamapps\common\GarrysMod\garrysmod\data\weapon_loadouts, and is called "weapon_loadouts.txt"
1. TableToKeyValues - [C]:-1
2. saveData - lua/autorun/weapon_loadout.lua:233
3. loadData - lua/autorun/weapon_loadout.lua:238
4. getFullLoadouts - lua/autorun/weapon_loadout.lua:464
5. func - lua/autorun/weapon_loadout.lua:662
6. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:100
7. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:89
8. ActivateTool - lua/includes/modules/spawnmenu.lua:287
9. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:132
10. unknown - lua/vgui/dlabel.lua:237
I'm getting the same problem