Garry's Mod

Garry's Mod

Arctic's Grenade Indicators
LOL DUDE 2022 年 8 月 29 日 下午 12:37
Menu non-functioning, producing LUA errors
When I try to open the menu with grenadeindicator_menu, a window comes up, but it appears blank and creates this error in the console:
[Arctic's Grenade Indicators] lua/includes/extensions/table.lua:510: bad argument #1 to 'pairs' (table expected, got string) 1. pairs - [C]:-1 2. toKeyValues - lua/includes/extensions/table.lua:510 3. SortedPairs - lua/includes/extensions/table.lua:524 4. RegenList - lua/autorun/cl_grenade_indicator_menu.lua:73 5. OpenMenu - lua/autorun/cl_grenade_indicator_menu.lua:99 6. unknown - lua/autorun/cl_grenade_indicator_menu.lua:103 7. unknown - lua/includes/modules/concommand.lua:54
Then, when I try to add an entity as a grenade to be indicated, nothing happens and this error pops up:
[Arctic's Grenade Indicators] lua/autorun/cl_grenade_indicator_menu.lua:68: attempt to index global 'UGI_Grenades' (a string value) 1. DoClick - lua/autorun/cl_grenade_indicator_menu.lua:68 2. unknown - lua/vgui/dlabel.lua:237
< >
正在显示第 1 - 1 条,共 1 条留言
Hiafella 2 月 23 日 上午 12:46 
i got this error too but i fixed it by deleting "grenadeindicators" json file

Steam > steamapps > common > GarrysMod > garrysmod > data

then look for smth at the bottom called "grenadeindicators" without quotes -- it'll appear as a json file

plz forgive for necropost
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50