Functions/DarkRP/Server/storeJailPos

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name DarkRP.storeJailPos(Player ply, boolean addingPos)
Description:
Store a jailposition from a player's location.
Returns: nil
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/storeJailPos]DarkRP.storeJailPos[/url][/b]

Function parameters

  1. ply (Player)
  2. The player of whom to get the location.

  3. addingPos (boolean) (optional)
  4. Whether to reset all jailpositions and to create a new one here or to add it to the existing jailpos.


Function return values

This function does not return any value.