diff --git a/PropSpawner/scripting/PropSpawner.sp b/PropSpawner/scripting/PropSpawner.sp index df03f01..df60ae0 100644 --- a/PropSpawner/scripting/PropSpawner.sp +++ b/PropSpawner/scripting/PropSpawner.sp @@ -547,6 +547,7 @@ void prop_any_create(int client) // Hook the prop so we can detect when it gets shot/damaged, and track it so we can unhook later if (g_cvNotifyShot.BoolValue) { + SetEntityFlags(prop, FL_CLIENT); //Now youre thinking with portals SDKHook(prop, SDKHook_OnTakeDamage, OnPropTakeDamage); g_aSpawnedProps.Push(prop); }