zombiesurvival-evolved/gamemodes/zombiesurvival/gamemode/maps/zs_dl_powercliff.lua

11 lines
249 B
Lua
Raw Normal View History

hook.Add("InitPostEntityMap", "Adding", function()
local pos = Vector(-2580, 2294, 48)
for _, ent in pairs(ents.FindByClass("info_player_zombie")) do
local rand = VectorRand()
rand.z = 0
rand = rand * 100
ent:SetPos(pos + rand)
end
end)