RadarSpotAll: Only spot zombies
This commit is contained in:
parent
61263edff8
commit
7fdf8dce34
@ -1,5 +1,6 @@
|
||||
#include <sourcemod>
|
||||
#include <sdkhooks>
|
||||
#include <zombiereloaded>
|
||||
|
||||
#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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user