i have mesh of b3d, i get surface by index, and i need the texture name or surface name, but i not found the function.
thanks
Try:
brush=GetSurfaceBrush(surf)
brushtex=GetBrushTexture(brush)
texname=TextureName(brushtex,0)
These commands were added to version 1.85
Surfaces dont have names.
Any textures and brushes found with GetSurfaceBrush() and GetBrushTexture() are duplicates of the originals (with different handles), they must be free'd after they are 'created'.