Disable Weapons Tab

Whenever you press Q to view the menu, is it possible to disable the “weapons” tab so that people do not spawn in weapons? I already have a weapon restriction script, and know about sbox_weapons 0.

Unless you make a completly new custom Spawn menu, no.

local function RestrictWeapons(ply, class, weapon)
return ply:IsAdmin() or ply:IsSuperAdmin()
hook.Add(“PlayerSpawnSWEP”, “RestrictWeapons”, RestrictWeapons)
hook.Add(“PlayerGiveSWEP”, “RestrictWeapons”, RestrictWeapons)

This hook will only allow admins and superadmins to spawn weapons from the weapons tab. If you want to disable weapons for everyone, change return ply:IsAdmin() or ply:IsSuperAdmin() to return false.

Unfortunately there is no way to completely get rid of the weapons tab without modifying the original spawnmenu code.