A simple request, about spawning without weapons.

Awhile ago, I remember there being an option to spawn without anything but your toolgun,camera and physgun, I was wondering if anyone could whip up a Lua file that emulates this feature, and I apologize if this has been posted before.

SinglePlayer
Options
Start With Weapons {Unckecked}

I haven’t seen the option for a few months now.



function SpawnWithoutWeapons(ply)
timer.Simple(0.5, function()
ply:StripWeapons()
ply:Give("weapons_physgun")
ply:Give("gmod_camera")
ply:Give("gmod_tool")
end)
end
hook.Add("PlayerSpawn","NoWeapons4You",SpawnWithoutWeapons)


Goes serverside