Players doesnt spawn with weapons...

Hello, I have a problem with my for loop for the weapons. The players doesnt spawn with any weapon.

Code:

function GM:PlayerSpawn( ply )

Weapons = { {1, }, {2, "stunstick", "weapon_glock2", "weapon_lockpick" }, 
{3, "stunstick", "weapon_deagle2", "weapon_mp52", "lockpick", "keypad_cracker" }, 
{4, "weapon_glock2" }, { 5 }, { 6, "lockpick" }, { 7 }, {8, "med_kit" } }

for k, v in pairs( Weapons ) do
	if ply:Team() == k then
		for i, p in pairs(v) do
			ply:Give()
		end
	end
end

end

Firstly: You’re not giving an argument to Player.Give
Secondly: Your Weapons table is not properly setup

Fixed:
[lua]
function GM:PlayerSpawn( ply )

Weapons = {[1] = {}, [2] = {"stunstick", "weapon_glock2", "weapon_lockpick"},
[3] = {"stunstick", "weapon_deagle2", "weapon_mp52", "lockpick", "keypad_cracker" },
[4] = {"weapon_glock2" }, [5] = {}, [6] = {"lockpick" }, [7] = {}, [8] = {"med_kit" }}

for k, v in pairs( Weapons ) do
	if ply:Team() == k then
		for i, p in pairs(v) do
			ply:Give(p)
		end
	end
end

end
[/lua]

Use Lua tags…

Thank you!