These are pinouts from a 2001 truck with blue & red connectors. 1999-2002 pinouts will be similar.

BLUE CONNECTOR (C1):



RED CONNECTOR (C2):