[EN]
Include com_model.h, and hook the function HUD_DrawNormalTriangles when load client. (pExportFunc->HUD_DrawNormalTriangles = HUD_DrawNormalTriangles;)
Use gEngfuncs.pfnSPR_Load to load a texture, and use gEngfuncs.GetSpritePointer to get the pointer:
[EN] 1.Draw a Triangle
Use TRI_TRIANGLES to draw triangles, use TRI_QUADS to draw squares, use TRI_QUAD_STRIP to piece a cube. use pTriAPI->Vertex3f to point the vertexes(you can just write the world coordinates), use pTriAPI->TexCoord2f to set texture coordinates.