diff --git a/plugins/stats.sma b/plugins/stats.sma index 2178fcaf..79fb3094 100755 --- a/plugins/stats.sma +++ b/plugins/stats.sma @@ -372,14 +372,14 @@ public displayStats(id,dest) { pos += copy(g_Buffer[pos],2047-pos,"body{font-family:Arial,sans-serif;font-size:12px;color:#FFCC99;background-color:#000000;margin-left:8px;margin-top:3px}.header{background-color:#9C0000;}.one{background-color:#310000;}.two{background-color:#630000;}") pos += format(g_Buffer[pos],2047-pos,"
Kills:%d
Deaths:%d
Damage:%d
Hits:%d
Shots:%d


", stats[0],stats[1],stats[6],stats[5],stats[4]) - pos += copy(g_Buffer[pos],2047-pos,"") + pos += copy(g_Buffer[pos],2047-pos,"
WeaponShotsHitsDamageKillsdeaths
") for(new a = 1; a < 31; ++a) { if (get_user_wstats(id,a,stats,body)) { if (equal(state,"one")) copy(state,3,"two") else copy(state,3,"one") get_weaponname(a,name,31) pos += format(g_Buffer[pos],2047-pos,"", - name[7],stats[4],stats[5],stats[6],stats[0],stats[1]) + state,name[7],stats[4],stats[5],stats[6],stats[0],stats[1]) } } copy(g_Buffer[pos],2047-pos,"
WeaponShotsHitsDamageKillsDeaths
%s%d%d%d%d%d
") @@ -419,10 +419,10 @@ displayRank(id,dest) { pos += format(g_Buffer[pos],2047-pos,"",(id==dest)?"Your":"His", rank_pos,get_statsnum()) pos += format(g_Buffer[pos],2047-pos,"", stats[0],stats[1],stats[6],stats[5],stats[4]) - pos += format(g_Buffer[pos],2047-pos,"", + pos += format(g_Buffer[pos],2047-pos,"", g_bodyParts[1],body[1],g_bodyParts[2],body[2],g_bodyParts[3],body[3], g_bodyParts[4],body[4], g_bodyParts[5],body[5],g_bodyParts[6],body[6],g_bodyParts[7],body[7]) - copy(g_Buffer,2047,"
%s rank is %d of %d
Kills:%d
Deaths:%d
Damage:%d
Hits:%d
Shots:%d
  
Hits
%s:%d
%s:%d
%s:%d
%s:%d
%s:%d
%s:%d
%s:%d
Hits
%s:%d
%s:%d
%s:%d
%s:%d
%s:%d
%s:%d
%s:%d
") + copy(g_Buffer[pos],2047-pos,"") #else pos = format(g_Buffer,2047,"%s rank is %d of %d^n^n",(id==dest)?"Your":"His", rank_pos,get_statsnum()) pos += format(g_Buffer[pos],2047-pos,"%10s: %d^n%10s: %d^n%10s: %d^n%10s: %d^n%10s: %d^n^n",