forked from UNLOZE/sm-plugins
RadarSpotAll: Only spot zombies
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#include <sourcemod>
|
#include <sourcemod>
|
||||||
#include <sdkhooks>
|
#include <sdkhooks>
|
||||||
|
#include <zombiereloaded>
|
||||||
|
|
||||||
#pragma semicolon 1
|
#pragma semicolon 1
|
||||||
#pragma newdecls required
|
#pragma newdecls required
|
||||||
@@ -20,5 +21,8 @@ public void OnClientPutInServer(int client)
|
|||||||
|
|
||||||
public void OnPostThink(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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user