A couple PropSpawner changes #5

Open
Irineu wants to merge 7 commits from Irineu/sm-plugins:master into master
Showing only changes of commit 9f711b0f71 - Show all commits
+1
View File
@@ -723,6 +723,7 @@ void prop_any_create(int client)
if (g_cvNotifyShot.BoolValue)
{
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);
g_aSpawnedProps.Push(prop);
}