From 27f2eb92a56f6af730e4f17d3d288da45b2d0d95 Mon Sep 17 00:00:00 2001 From: zaCade Date: Sun, 12 Aug 2018 16:45:20 +0200 Subject: [PATCH] ItemSpawn: Oops --- ItemSpawn/scripting/ItemSpawn.sp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ItemSpawn/scripting/ItemSpawn.sp b/ItemSpawn/scripting/ItemSpawn.sp index 02033f23..0303454c 100644 --- a/ItemSpawn/scripting/ItemSpawn.sp +++ b/ItemSpawn/scripting/ItemSpawn.sp @@ -253,17 +253,17 @@ public void OnRoundStart(Event hEvent, const char[] sEvent, bool bDontBroadcast) // filter_damage_type zombie items. int iZombieFilter3 = CreateEntityByName("filter_damage_type"); - DispatchKeyFormat(iZombieFilter3, "targetname", "item_filter_zombie_items"); - DispatchKeyFormat(iZombieFilter3, "Negated", "0"); - DispatchKeyFormat(iZombieFilter3, "damagetype", "128"); + DispatchKeyFormat(iZombieFilter3, "targetname", "item_filter_zombie_items"); + DispatchKeyFormat(iZombieFilter3, "Negated", "0"); + DispatchKeyFormat(iZombieFilter3, "damagetype", "128"); SpawnAndActivate(iZombieFilter3); // filter_multi zombies. - int iHumanFilter4 = CreateEntityByName("filter_multi"); - DispatchKeyFormat(iHumanFilter4, "targetname", "item_filter_zombies"); - DispatchKeyFormat(iHumanFilter4, "Negated", "0"); - DispatchKeyFormat(iHumanFilter4, "filtertype", "1"); - DispatchKeyFormat(iHumanFilter4, "filter01", "item_filter_zombie"); - DispatchKeyFormat(iHumanFilter4, "filter02", "item_filter_zombie_items"); - SpawnAndActivate(iHumanFilter4); + int iZombieFilter4 = CreateEntityByName("filter_multi"); + DispatchKeyFormat(iZombieFilter4, "targetname", "item_filter_zombies"); + DispatchKeyFormat(iZombieFilter4, "Negated", "0"); + DispatchKeyFormat(iZombieFilter4, "filtertype", "1"); + DispatchKeyFormat(iZombieFilter4, "filter01", "item_filter_zombie"); + DispatchKeyFormat(iZombieFilter4, "filter02", "item_filter_zombie_items"); + SpawnAndActivate(iZombieFilter4); }