change start weapons

I know I can start Single player without weapons and then spawn what I want, but can some one write some code so I can choose what weapons I start with every respawn

[lua]
local weapons = {}
function loadouttest()
LocalPlayer():StripWeapons()
for k,v in pairs(weapons) do
localPlayer:GiveWeapon(v)
end
end
hook.Add(“PlayerLoadOut”,“BlahBlahbling”,loadouttest)
[/lua]

Full tutorial on how to make a weapon selection menu. If u need help just post and we we’ll see what we can do

i dont thik that is what he is requesting…

It is. Im pretty sure just your gonna need to add this code to GM:PlayerSpawn

[ LUA]

RunConsoleCommand(“selectweapon”)

[ \LUA ]

Also if your starting with no weapons. just run this in console



sv_weapons 1


Thanks for all the help