Garry's Mod

Garry's Mod

PlayerModel Zombies | "Beauty of Annihilation"
Garry 29 Oct, 2022 @ 2:58am
---- [IM JUST STUPID]
i tried making them spawn all over the map and to launch a game but i got this error

[PlayerModel Zombies | "Beauty of Annihilation"] lua/includes/extensions/table.lua:510: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. toKeyValues - lua/includes/extensions/table.lua:510
3. RandomPairs - lua/includes/extensions/table.lua:577
4. v - lua/autorun/gmod_zombiesautorun.lua:84
5. unknown - lua/includes/modules/hook.lua:96 (x297)

i can make them spawn individually tho and it works so idk what is the problem
Last edited by Garry; 29 Oct, 2022 @ 9:23am
< >
Showing 1-5 of 5 comments
NovaKamik0w0_ 29 Oct, 2022 @ 3:00am 
redownload?
Garry 29 Oct, 2022 @ 3:12am 
ok im gonna try to see if it fixes is
Garry 29 Oct, 2022 @ 3:17am 
Originally posted by bar:
redownload?
didn't fix anything
I believe the bug is caused to a map not having a Nav Mesh, although i could be incorrect, when playing with maps without a navmesh this error appears, but when playing in a map with a nav mesh it works. If you want a nav mesh on a map that doesnt have one just type "nav_generate" in console. This might be a fix for this problem but i am unsure.
Garry 29 Oct, 2022 @ 9:06am 
Originally posted by Mini:
I believe the bug is caused to a map not having a Nav Mesh, although i could be incorrect, when playing with maps without a navmesh this error appears, but when playing in a map with a nav mesh it works. If you want a nav mesh on a map that doesnt have one just type "nav_generate" in console. This might be a fix for this problem but i am unsure.
yeah i fixed it by doing that at first i thought that the map already had a navmesh but thanks anyways!
< >
Showing 1-5 of 5 comments
Per page: 1530 50