This guide is assuming that you have the necessary stuff (createmove hook, usercmd class etc.)
warning, this may be wrong, if it is feel free to correct me.
*** Hidden text: You do not have sufficient rights to view the hidden text. Visit the forum thread! ***
EDIT: UPDATED! might be slightly...