Easy Help

Whats the code to set a spawn position for a certain team.

like here i got:

[lua]team.SetUp( 1, “Citizen”, Color(0, 255, 0, 255) ) //Team Citizen[/lua]

what would i put in init.lua to have them spawn at say:
19.186607, -1805.906372, 216.031250

[lua]hook.Add( “PlayerSpawn”, “CitizenSpawn”, function( ply )

if ply:Team() == 1 then ply:SetPos(Vector(19.186607, -1805.906372, 216.031250)) end

end )[/lua]
:clint:

what if i wanted to add multiple spawns?

[lua]local spawns = {
Vector(19.186607, -1805.906372, 216.031250),
Vector(19.186607, 2, 216.031250),
Vector(2, -1805.906372, 216.031250),
Vector(19.186607, -1805.906372, 1),
Vector(19.186607, 1, 216.031250),
Vector(1, -1805.906372, 216.031250)
}
hook.Add( “PlayerSpawn”, “CitizenSpawn”, function( ply )

if ply:Team() == 1 then ply:SetPos(table.Random(spawns)) end

end )[/lua]
:clint::clint:

thanks Quebec, again for helping me out once more