Paused you mean, suspended? If yes, you have to compare time on suspended and set action on resumed.
I don't know, to be honest I used the set time scale = 0 function to pause, and again 1 to resume, I didn't know how to do it. but if I put time scale = 1 again, all the other objects move too ...