Here is my piece of code + a simple game resources used by it (I used some models from 3D Game Studio templates (one of them, the alien model, for it, I removed the weapon). Also, I used a level template from lite-C workshops "lite-c samples" file)
Note: after downloading, open the script file named "har" not "tr"
Download link:
http://www.filehosting.org/file/details/420168/For_help.rar Thank you very much for helping