Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #region Team
- public static void CreateTeam(Team team, Client.GameClient client)
- {
- Network.GamePackets.Team team_pak = new Network.GamePackets.Team();
- if (client.Entity.MaxHitpoints == 0)//if(hp == 0) the client will close
- return;
- client.Team = new Game.ConquerStructures.Team(client);
- team_pak.Type = 15;
- client.Send(team_pak.ToArray());
- team_pak.Type = 0;
- client.Send(team_pak.ToArray());
- return;
- }
- #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement