Prediction is pretty useless in both cases, MP and SP. Especially in SP, you don't even have to optimize your aimbot in order to get a good hitrate without any kind of prediction.
Still, a simple prediction would for example calculate the targets movement and then aim a little bit in front of the target. It might help a little bit with high pings, but is by far not the best solution. My own MP bot doesn't use any prediction, and it is hitting pretty badass, so I recommend you to do some research / RCE about the game's engine & structure. You'll find out more by time, good luck!