Garry's Mod

Garry's Mod

Arctic's Grenade Indicators
LOL DUDE 29 Aug, 2022 @ 12:37pm
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
< >
Showing 1-1 of 1 comments
Hiafella 23 Feb @ 12:46am 
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
< >
Showing 1-1 of 1 comments
Per page: 1530 50