Im not sure what the problem is, im not sure if its cause im using a listen server or because im fucking up my script somewhere.
But in my gamemode, when i set my team in the playerinitalspawn hook it always goes to team 1001.
Any reason for this?
What do you mean by team 1001?
By that i mean:
[code]]lua_run print(Entity(1):Team())
1001
[/code]
[editline]23rd July 2011[/editline]
Func:
[lua]function GM:InitialPlayerSpawn(ply)
ply:SetTeam(1)
ply:JoinMenu()
ply:CreatePlayer()
--local rat = math.floor((team.GetPlayers(1)+team.GetPlayers(4))/(team.GetPlayers(2)+team.GetPlayers(3)+team.GetPlayers(5)))
end[/lua]