Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 20th, 2012  |  syntax: C#  |  size: 0.73 KB  |  hits: 28  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. public void onMessage(object sender, PlayerIOClient.Message m)
  2. {
  3.      if (m.Type == "b")      
  4. }         
  5.      int Xcor = m.GetInt(1);                
  6.      int Ycor = m.GetInt(2);                
  7.      int BlockID = m.GetInt(3);                
  8.      if (BlockID == 74 && checkBox2.Checked == true)      
  9. }          
  10. if System.Threading.Thread.Sleep(25);                    
  11. connection.Send(worldKey, new object[] { 0, Xcor, Ycor, 70 });                       System.Threading.Thread.Sleep(25);                    
  12. connection.Send(worldKey, new object[] { 0, Xcor, Ycor, 0 });                  
  13.                 }            
  14.         }          
  15. }