ItemSpawn: Oops

This commit is contained in:
zaCade 2018-08-12 16:45:20 +02:00
parent 652387ca9e
commit 27f2eb92a5

View File

@ -259,11 +259,11 @@ public void OnRoundStart(Event hEvent, const char[] sEvent, bool bDontBroadcast)
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);
}