Advertisement
Guest User

Untitled

a guest
Oct 1st, 2014
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. #region Team
  2. public static void CreateTeam(Team team, Client.GameClient client)
  3. {
  4. Network.GamePackets.Team team_pak = new Network.GamePackets.Team();
  5. if (client.Entity.MaxHitpoints == 0)//if(hp == 0) the client will close
  6. return;
  7. client.Team = new Game.ConquerStructures.Team(client);
  8. team_pak.Type = 15;
  9. client.Send(team_pak.ToArray());
  10.  
  11. team_pak.Type = 0;
  12. client.Send(team_pak.ToArray());
  13. return;
  14. }
  15. #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement