Disable admins spawing weapons

Hello, i was wandering how to disable admins/superadmins from spawning weapons without editing the SWEP itself and/or just remove the tab from the Q menu.

[lua]
concommand.Add(“gm_spawnswep”,function()
return ‘’
end

concommand.Add(“gm_giveswep”,function()
return ‘’
end
[/lua]

Why not just return? Why the ’ '?

Works great thanks.

When I first started I learned off of using return ‘’.

I never really broke the habit.

The only time you need to return “” is in a chat hook. But it doesn’t hurt to do it all the time either unless the function specifically wants another value.