Functions/DarkRP/Server/lockdown

From Official DarkRP Wiki
Jump to: navigation, search
Function
Function name DarkRP.lockdown(Player ply)
Description:
Start a lockdown.
Returns: string str
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/lockdown]DarkRP.lockdown[/url][/b]

Function parameters

  1. ply (Player)
  2. The player who initiated the lockdown.


Function return values

  1. str (string)
  2. Empty string (since it's a called in a chat command)