Superku. You can helpme brother?
I apply his formula and it works well. But I have a problem somewhat bizarre!
When I'm using on terrain that was created with ent_createterrain, the position of the Pixel and coordinated paint not synchronize!

Even the paint function terrain_setpixel does not work properly.
the automatical formula, terrain_pixel_for_pos also returns the position wrong.
Everything works correctly loaded by using a ground level or using ent_create()...

I made a post for this error, could you help me?
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Main=50748&Number=425864#Post425864

Last edited by NeoNeper; 07/12/13 19:55.

Please! Use easy words to be translated. because my English is not very good! Grateful.
_______________________________________________________