Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strstr(buf,"t;")){
- int i2 = 0;
- string position="";
- while(i2 != players.size()){
- int id = players.at(i2);
- string id_c = "";
- std::stringstream ss;
- ss << id;
- id_c = ss.str();
- send_data(id,id_c,"");
- cout << "Sending pos: "<< buf <<" to: " << id << "\n";
- i2++;
- }
- cout << endl;
- }
Add Comment
Please, Sign In to add comment