Functions/DarkRP/Server/lockdown

From Official DarkRP Wiki
Revision as of 14:17, 31 October 2015 by DarkRPBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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)