CreateMeshBuilder,
Addvertex,-0.8, 0, -0.1,
Addvertex,-0.8, 0, 2,
Addvertex,-0.72, 0, 2,
Addvertex,-0.72, 0, -0.1,
Addface,0, 1, 2, 3,
GenerateNormals,	
LoadTexture,Rail.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

CreateMeshBuilder,
Addvertex,0.72, 0, -0.1,
Addvertex,0.72, 0, 2,
Addvertex,0.8, 0, 2,
Addvertex,0.8, 0, -0.1,
Addface,0, 1, 2, 3,
GenerateNormals,	
LoadTexture,Rail.png
SetTextureCoordinates,0,1,1
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,0,0
SetTextureCoordinates,3,0,1

CreateMeshBuilder,
Addvertex,-0.76, -0.17, -0.1,
Addvertex,-0.76, 0, -0.1,
Addvertex,-0.76, 0, 2,
Addvertex,-0.76, -0.17, 2,
AddFace,0,1,2,3
AddFace,3,2,1,0
LoadTexture,kolej_sv.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

CreateMeshBuilder,
Addvertex,0.76, -0.17, -0.1,
Addvertex,0.76, 0, -0.1,
Addvertex,0.76, 0, 2,
Addvertex,0.76, -0.17, 2,
AddFace,0,1,2,3
AddFace,3,2,1,0
LoadTexture,kolej_sv.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1