Title: Prediction The engine calls when reprediction is required. This happens usually when new data has arrived from the server. should to prediction from the current snapshot and current snapshot tick ( + 1) up to and including the tick returned by . Predicted input sent to the server can be retrived by calling with the corresponding tick that you want the input for. Here is a simple example of how it might look. > void modc_predict() > { > int tick; > prediction_reset(); > > for(tick = client_tick()+1; tick <= client_predtick(); tick++) > { > MY_INPUT *input = (MY_INPUT *)client_get_input(); > if(input) > prediction_apply_input(input); > prediction_tick(); > } > }