#include "hitplot.qh"
-#include <server/defs.qh>
-#include <server/miscfunctions.qh>
-#include "../antilag.qh"
-#include "../g_subs.qh"
-#include <common/weapons/_all.qh>
#include <common/state.qh>
+#include <common/stats.qh>
+#include <common/weapons/_all.qh>
+#include <common/weapons/_all.qh>
#include <common/wepent.qh>
+#include <server/antilag.qh>
+#include <server/client.qh>
+#include <server/world.qh>
vector W_HitPlotUnnormalizedUntransform(vector screenforward, vector screenright, vector screenup, vector v)
{
if(autocvar_g_hitplots || strhasword(autocvar_g_hitplots_individuals, player.netaddress))
{
CS(player).hitplotfh = fopen(strcat("hits-", matchid, "-", player.netaddress, "-", ftos(player.playerid), ".plot"), FILE_WRITE);
- fputs(CS(player).hitplotfh, strcat("#name ", playername(player, false), "\n"));
+ fputs(CS(player).hitplotfh, strcat("#name ", playername(player.netname, player.team, false), "\n"));
}
else { CS(player).hitplotfh = -1; }
}