I can’t speak to the above question but it would probably be best for you to start a fresh thread yourself, as that is how the forum rules specify, and explain your issue clearly.
How to report your problem productively in the Unity3D forums:
How to understand compiler and other errors and even fix them yourself:
If you post a code snippet, ALWAYS USE CODE TAGS:
How to use code tags: Using code tags properly
For another example of a CharacterController script, here’s some goodies:
CharacterController CharMover broken:
I wrote about this before: the Unity example code in the API no longer jumps reliably. I have reported it. Here is a work-around: