If you type:
EntityTexture cube,tex
or
PaintEntity cube,brush
and then trying to get the texturename:
tex$=Texturename(GetBrushTexture(GetSurfaceBrush(surf)))
then it returns "" (nothing), but if i use PaintSurface surf,brush
then it returns texturename!
EntityTexture cube,tex
or
PaintEntity cube,brush
and then trying to get the texturename:
tex$=Texturename(GetBrushTexture(GetSurfaceBrush(surf)))
then it returns "" (nothing), but if i use PaintSurface surf,brush
then it returns texturename!