Garry's Mod

Garry's Mod

gWeather
mag_e 8 月 12 日 上午 7:22
How can i spawn wheather with a addon?
im tring to make an addon that spawns random wheather but for some reason its just doesnt spawn any

function GM:InitPostEntity()
local wheather = ents.Create("gw_t2_heavyrain")
wheather:SetPos(Vector(0, 0, 0))
wheather:Spawn()
end

its in lua/autorun/server/