local spawns ={
["none"] = { 0, 0, 0},
["Admin"] = { 0, 0, 0 },
["Civilians"] = { 50, 135135.165456, -15465}
}
addEventHandler( "onPlayerLogin", root,
function()
local team = getTeamName( getPlayerTeam( source ) ) or "none"
local x, y, z = unpack( spawns[team] )
spawnPlayer( source, x, y, z)
end
)