Nice solution, thx I have changed it a bit and it works perfectly.
You have ask for +-100 Np man..next time just show us the code..
Hello everyone my name is Ivan Mandic from "Frozen pixel studio". ----------------------------------- Homepage: www.fpx-studio.com e-mail: emu_hunter_1990@hotmail.com (working on a game engine)