Here the optimal way is to get the ped coords from server in a loop and send it to client