Code:
void DrawWeaponStats()
{
*(int *)0x15B8AA4 |= 2;
int posY = 50;
int posX = 30;
char Kills[128];
char Headshoots[128];
g_pDraw.CG_FillRect(posX-5,posY-5, 370, 338, back_color );
g_pDraw.CG_DrawRect(posX-5,posY-5, 370, 338, 0.9, line_color );
sprintf(Kills,"Bar Kills: ^1%i",WeaponStats.Bar_kills);
sprintf(Headshoots,"Bar Headshoots: ^1%i",WeaponStats.Bar_headshoots);
g_pDraw.CG_DrawStringExt(posX,posY,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX,posY+15,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"Bren Kills: ^1%i",WeaponStats.Bren_kills);
sprintf(Headshoots,"Bren Headshoots: ^1%i",WeaponStats.Bren_headshoots);
g_pDraw.CG_DrawStringExt(posX,posY+30,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX,posY+45,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"Pistol Kills: ^1%i",WeaponStats.Pistol_kills);
sprintf(Headshoots,"Pistol Headshoots: ^1%i",WeaponStats.Pistol_headshoots);
g_pDraw.CG_DrawStringExt(posX,posY+60,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX,posY+75,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"Enfield Kills: ^1%i",WeaponStats.Enfield_kills);
sprintf(Headshoots,"Enfield Headshoots: ^1%i",WeaponStats.Enfield_headshoots);
g_pDraw.CG_DrawStringExt(posX,posY+90,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX,posY+105,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"Mpfg42 Kills: ^1%i",WeaponStats.Mpfg42_kills);
sprintf(Headshoots,"Mpfg42 Headshoots: ^1%i",WeaponStats.Mpfg42_headshoots);
g_pDraw.CG_DrawStringExt(posX,posY+120,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX,posY+135,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"Kar98k Kills: ^1%i",WeaponStats.Kar98k_kills);
sprintf(Headshoots,"Kar98k Headshoots: ^1%i",WeaponStats.Kar98k_headshoots);
g_pDraw.CG_DrawStringExt(posX,posY+150,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX,posY+165,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"MosinNagantSniper Kills: ^1%i",WeaponStats.Mosin_Nagant_Sniper_kills);
sprintf(Headshoots,"MosinNagantSniper Headshoots: ^1%i",WeaponStats.Mosin_Nagant_Sniper_headshoots);
g_pDraw.CG_DrawStringExt(posX,posY+180,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX,posY+195,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"Carbiner Kills: ^1%i",WeaponStats.Carbiner_kills);
sprintf(Headshoots,"Carbiner Headshoots: ^1%i",WeaponStats.Carbiner_headshoots);
g_pDraw.CG_DrawStringExt(posX,posY+210,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX,posY+225,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"M1 Garand Kills: ^1%i",WeaponStats.M1_Garand_kills);
sprintf(Headshoots,"M1 Garand Headshoots: ^1%i",WeaponStats.M1_Garand_headshoots);
g_pDraw.CG_DrawStringExt(posX,posY+240,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX,posY+255,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"Mosin Nagant Kills: ^1%i",WeaponStats.Mosin_Nagant_kills);
sprintf(Headshoots,"Mosin Nagant Headshoots: ^1%i",WeaponStats.Mosin_Nagant_headshoots);
g_pDraw.CG_DrawStringExt(posX,posY+270,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX,posY+285,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"Kar98k Scope Kills: ^1%i",WeaponStats.Kar98k_Scope_kills);
sprintf(Headshoots,"Kar98k Scope Headshoots: ^1%i",WeaponStats.Kar98k_Scope_headshoots);
g_pDraw.CG_DrawStringExt(posX,posY+300,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX,posY+315,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////TAB ->
sprintf(Kills,"MP40 Kills: ^1%i",WeaponStats.MP40_kills);
sprintf(Headshoots,"MP40 Headshoots: ^1%i",WeaponStats.MP40_headshoots);
g_pDraw.CG_DrawStringExt(posX+150,posY,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX+150,posY+15,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"MP44 Kills: ^1%i",WeaponStats.MP44_kills);
sprintf(Headshoots,"MP44 Headshoots: ^1%i",WeaponStats.MP44_headshoots);
g_pDraw.CG_DrawStringExt(posX+150,posY+30,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX+150,posY+45,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"Ppsh Kills: ^1%i",WeaponStats.Ppsh_kills);
sprintf(Headshoots,"Ppsh Headshoots: ^1%i",WeaponStats.Ppsh_headshoots);
g_pDraw.CG_DrawStringExt(posX+150,posY+60,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX+150,posY+75,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"Springfield Kills: ^1%i",WeaponStats.Springfield_kills);
sprintf(Headshoots,"Springfield Headshoots: ^1%i",WeaponStats.Springfield_headshoots);
g_pDraw.CG_DrawStringExt(posX+150,posY+90,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX+150,posY+105,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"Sten Kills: ^1%i",WeaponStats.Sten_kills);
sprintf(Headshoots,"Sten Headshoots: ^1%i",WeaponStats.Sten_headshoots);
g_pDraw.CG_DrawStringExt(posX+150,posY+120,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX+150,posY+135,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
//////////////////////
sprintf(Kills,"Thompsen Kills: ^1%i",WeaponStats.Thompsen_kills);
sprintf(Headshoots,"Thompsen Headshoots: ^1%i",WeaponStats.Thompsen_headshoots);
g_pDraw.CG_DrawStringExt(posX+150,posY+150,Kills, colorWhite, qfalse, qtrue, 6, 8, 500);
g_pDraw.CG_DrawStringExt(posX+150,posY+165,Headshoots, colorWhite, qfalse, qtrue, 6, 8, 500);
} pic.
Bookmarks