18.01.2014, 17:18
Well, since in 0.3x version we've received some new features to the teams, something should be changed in SetSpawnInfo.
SetSpawnInfo function has teamid parameter:
![](http://bankfotek.pl/image/1651537)
and I am using that function in my gamemode, and teamid for players is '0'. Which means that they shouldn't be able to kill each other, because if we are in the same team with other players, they're not allowed to kill their team members. Seems like SetSpawnInfo doesn't support it, and it would be nice to see it fixed.
I know, I can still call SetPlayerTeam after that function, but SetSpawnInfo has this parameter for some reason, right?
SetSpawnInfo function has teamid parameter:
and I am using that function in my gamemode, and teamid for players is '0'. Which means that they shouldn't be able to kill each other, because if we are in the same team with other players, they're not allowed to kill their team members. Seems like SetSpawnInfo doesn't support it, and it would be nice to see it fixed.
I know, I can still call SetPlayerTeam after that function, but SetSpawnInfo has this parameter for some reason, right?