Download the Racer sources on the download page. It contains a customizable car script that you could use or you can just compare the function calls there to your own.