So i’ve been jacking around with this gamemode for quite some time (2-3 months) and I’m pretty much ready to release. However I can simply not get rid of this one error.
[ERROR] gamemodes/ptp/gamemode/modules/base/sv_player.lua:224: attempt to index local 'teams' (a nil value) 1. PlayerSetModel - gamemodes/ptp/gamemode/modules/base/sv_player.lua:224 2. PlayerLoadout - gamemodes/ptp/gamemode/modules/base/sv_player.lua:214 3. unknown - gamemodes/ptp/gamemode/modules/base/sv_player.lua:72
Lines 214 and 72 are both just: GAMEMODE:PlayerLoadout( ply )
Anyone want to take a crack at it?