Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if (packet == 0x0a) {
- disassemble(buffer, "bBBB", &pid, &x, &y, &z);
- x = (x / 32) + players.get_x(pid);
- y = (y / 32) + players.get_y(pid);
- z = (z / 32) + players.get_z(pid);
- rotx = players.get_rotx(pid);
- roty = players.get_roty(pid);
- players.move_player(pid, x, y, z);
- return on_server_move (pid, x, y, z, rotx, roty);
- }
Advertisement
Add Comment
Please, Sign In to add comment