-#ifndef CLIENT_MISCFUNCTIONS_H
-#define CLIENT_MISCFUNCTIONS_H
+#pragma once
entity players;
entity teams;
vector rotate(vector v, float a);
+#define IS_DEAD(s) (((s).classname == "csqcmodel") ? (s).csqcmodel_isdead : ((s).health <= 0))
+
+
// decolorizes and team colors the player name when needed
string playername(string thename, float teamid);
void Accuracy_LoadColors();
vector Accuracy_GetColor(float accuracy);
-
-#endif