XADRENALINEIX

Muskelprotze's Fast Control Of Net Players ID

May 18th, 2013
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. bool network_control(int netid){
  2. uint tick = 0;
  3. REQUEST_CONTROL_OF_NETWORK_ID(netid);
  4. do{
  5. tick++;
  6. REQUEST_CONTROL_OF_NETWORK_ID(netid);
  7. if(HAS_CONTROL_OF_NETWORK_ID(netid))
  8. return true;
  9. else
  10. WAIT(0);
  11. } while(tick < 300);
  12. return false;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment