From Official DarkRP Wiki
Revision as of 14:15, 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 name DarkRP.doorIndexToEnt(number index)
Get the entity of a door index (inverse of ent:doorIndexToEnt()). Note: the door MUST have been created by the map!
Returns: Entity door
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=]DarkRP.doorIndexToEnt[/url][/b]

Function parameters

  1. index (number)
  2. The door index

Function return values

  1. door (Entity)
  2. The door entity