Look at the datasheet for the LM317, it has a circuit for a 5A regulator. (Using a high-power transistor to bypass the regulator.) It also shows the circuit for a current limiter. Chances are that the LM338 can be used in the same way, check the datasheet.
On the subject of LM317's, what's the difference between the LM117, LM217 and LM317 ? It doesn't say in the datasheet.