Functions/DarkRP/Server/doorIndexToEnt

From DarkRP
Function
Function name DarkRP.doorIndexToEnt(number index)
Description:
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:
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/doorIndexToEnt]DarkRP.doorIndexToEnt[/url][/b]

Function parameters[edit]

  1. index (number)
  2. The door index


Function return values[edit]

  1. door (Entity)
  2. The door entity