RadarSpotAll: Only spot zombies
This commit is contained in:
parent
61263edff8
commit
7fdf8dce34
@ -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
|
||||||
@ -19,6 +20,9 @@ public void OnClientPutInServer(int client)
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void OnPostThink(int client)
|
public void OnPostThink(int client)
|
||||||
|
{
|
||||||
|
if(ZR_IsClientZombie(client))
|
||||||
{
|
{
|
||||||
SetEntProp(client, Prop_Send, "m_bSpotted", 1);
|
SetEntProp(client, Prop_Send, "m_bSpotted", 1);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user