Functions/DarkRP/Server/retrieveTeamSpawnPos

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name DarkRP.retrieveTeamSpawnPos(number team)
Description:
Retrieve a random spawn position for a job.
Returns: Vector pos
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/retrieveTeamSpawnPos]DarkRP.retrieveTeamSpawnPos[/url][/b]

Function parameters

  1. team (number)
  2. The job to get a spawn position for.


Function return values

  1. pos (Vector)
  2. A nice spawn position.