memcpy

Untitled

Jul 14th, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1.  else if (packet == 0x0a) {
  2.         disassemble(buffer, "bBBB", &pid, &x, &y, &z);
  3.         x = (x / 32) + players.get_x(pid);
  4.         y = (y / 32) + players.get_y(pid);
  5.         z = (z / 32) + players.get_z(pid);
  6.         rotx = players.get_rotx(pid);
  7.         roty = players.get_roty(pid);
  8.         players.move_player(pid, x, y, z);
  9.         return on_server_move (pid, x, y, z, rotx, roty);
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment