You are texturing the entity instead of the mesh. Use Paintmesh with a brush instead of entitytexture.
From memory something like:
Brush=CreateBrush(): BrushTexture brush,texture: PaintMesh mesh,brush
From memory something like:
Brush=CreateBrush(): BrushTexture brush,texture: PaintMesh mesh,brush