DarkRP spawning

I’m looking for a script or a menu or something that will allow me to set the spawn point for a job. Examples, Mayor spawns in office, Cops spawn in HQ…I’m running the latest darkRP and ULX admin mod. Any help?

This section is for gamemode development, this is a lua request.
Ask your question here: http://www.facepunch.com/forums/53-Requests


/setspawn job - clears spawns for the job and adds a new
/addspawn job - adds a new spawn to a job

sigh Okay, check to see if a player is on a team then use ply:SetPos.
[lua]
–make a table first
teamdickspawn = {}
teamdickspawn[1] = vector (insert numbers here.)
teamdickspawn[2] = vector (insert numbers here.)
– then on playerspawn
function GM:Playerspawn (ply) – this is already made in the gamemode.
if ply:Team() == 2 then ply:SetPos(teamdickspawn[1])
if ply:Team() == 1 then ply:SetPos(teamdckspawn[2])
end
end
end
[/lua]
Yep.