A couple PropSpawner changes #5
@@ -723,6 +723,7 @@ void prop_any_create(int client)
|
|||||||
if (g_cvNotifyShot.BoolValue)
|
if (g_cvNotifyShot.BoolValue)
|
||||||
{
|
{
|
||||||
SetEntityFlags(prop, FL_CLIENT); //Now youre thinking with portals
|
SetEntityFlags(prop, FL_CLIENT); //Now youre thinking with portals
|
||||||
|
SetEntProp(prop, Prop_Data, "m_iTeamNum", CS_TEAM_CT); // So it works with filtered triggers
|
||||||
SDKHook(prop, SDKHook_OnTakeDamage, OnPropTakeDamage);
|
SDKHook(prop, SDKHook_OnTakeDamage, OnPropTakeDamage);
|
||||||
g_aSpawnedProps.Push(prop);
|
g_aSpawnedProps.Push(prop);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user