getDoor
lua
Parameters
- doorId:
numberThe door ID
Return Value
- id:
numberThe door ID - name:
stringThe door name - state:
number0unlocked,1locked - coords:
vector3The door coordinates - maxDistance:
numberThe distance at which the door can be used - characters:
string[] | nilIdentifiers that can always use the door - groups:
table | nilJobs or gangs that can use the door - items:
table | nilItems that open the door
Example
lua