Garry's Mod

Garry's Mod

gWeather
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/