Guest User

Untitled

a guest
Feb 21st, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. if(strstr(buf,"t;")){
  2.  
  3. int i2 = 0;
  4. string position="";
  5. while(i2 != players.size()){
  6. int id = players.at(i2);
  7. string id_c = "";
  8.  
  9. std::stringstream ss;
  10. ss << id;
  11. id_c = ss.str();
  12.  
  13. send_data(id,id_c,"");
  14. cout << "Sending pos: "<< buf <<" to: " << id << "\n";
  15.  
  16. i2++;
  17. }
  18. cout << endl;
  19.  
  20. }
Add Comment
Please, Sign In to add comment