Functions/DarkRP/Server/setJailPos

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name DarkRP.setJailPos(Vector pos)
Description:
Remove all jail positions in this map and create a new one. To add a jailpos without removing previous ones use DarkRP.addJailPos. This jail position will be saved in the database.
Returns: nil
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/setJailPos]DarkRP.setJailPos[/url][/b]

Function parameters

  1. pos (Vector)
  2. The position to set as jailpos.


Function return values

This function does not return any value.