Daubydogg
World Famous Drug Dealer
I used teh bug free zombie event and everytime the event starts, it just massive summons zombies o-o how do i fix that?
function onThink(interval, lastExecution, thinkInterval)
if(getStorage(ZE_STATUS) == 2) then
setZombiesToSpawnCount(getZombiesToSpawnCount()+1)
local players = getZombiesEventPlayers()
for i=1, getZombiesToSpawnCount() * 2 do
if(getZombiesToSpawnCount() > 0 and spawnNewZombie()) then
setZombiesToSpawnCount(getZombiesToSpawnCount()-1)
end
end
end
return true
end
lol, add 2 0 to the summoning party, since I bet you're using TFS 0.4.
In the xml file it counts milleseconds, so 2 would be every 2 millesconds, instead of every 2 seconds - so you need to change 2 --> 2000.^ i don't get it :s sorry can you explain detaily? ):