diff --git a/RadarSpotAll/scripting/RadarSpotAll.sp b/RadarSpotAll/scripting/RadarSpotAll.sp index 56ef288..ed1c2bc 100644 --- a/RadarSpotAll/scripting/RadarSpotAll.sp +++ b/RadarSpotAll/scripting/RadarSpotAll.sp @@ -1,5 +1,6 @@ #include #include +#include #pragma semicolon 1 #pragma newdecls required @@ -20,5 +21,8 @@ public void OnClientPutInServer(int client) public void OnPostThink(int client) { - SetEntProp(client, Prop_Send, "m_bSpotted", 1); + if(ZR_IsClientZombie(client)) + { + SetEntProp(client, Prop_Send, "m_bSpotted", 1); + } }