Discord
Steam
/
Garry's Mod
/
Developers
/
Team table ind..
Login/Join
Event Log
Team table index is nil?
2 replies, posted
Search
In This Thread
[LUA][ERROR] lua/includes/modules/team.lua:29: table index is nil 1. SetUp - lua/includes/modules/team.lua:29 2. unknown - gamemodes/test/gamemode/shared.lua:9[/LUA] shared.lua line 9: [LUA]function GM:CreateTeams() team.SetUp( TEAM_GUEST, "Guest", Color(0, 0, 200, 255) ) --This is line 9 team.SetUp( TEAM_SPEC, "Spectator", Color(200, 200, 0, 255) ) end[/LUA] Any help?
TEAM_GUEST is undefined.
Durr, of course. Thank you!
Sorry, you need to
Log In
to post a reply to this thread.