-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #692 from bitpredator/dev
fix: (bpt_doorlock\client\main & utils) accessing undefined variable
- Loading branch information
Showing
4 changed files
with
41 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
server-data/resources/[bpt_addons]/bpt_doorlock/client/utils.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
local doors, source, NuiHasLoaded = {}, {}, {} | ||
local Entity = Entity | ||
|
||
local function getDoorFromEntity(data) | ||
|
34 changes: 17 additions & 17 deletions
34
server-data/resources/[bpt_addons]/bpt_doorlock/locales/en.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
{ | ||
"unlocked_door": "Unlocked door", | ||
"locked_door": "Locked door", | ||
"lock_door": "[E] Lock door", | ||
"unlock_door": "[E] Unlock door", | ||
"door_lock": "Door lock", | ||
"passcode": "Passcode", | ||
"lockpick_broke": "Your lockpick broke", | ||
"pick_lock": "Pick lock", | ||
"add_lock": "Add doorlock", | ||
"edit_lock": "Edit doorlock", | ||
"remove_lock": "Remove doorlock", | ||
"cannot_unlock": "Unable to unlock door", | ||
"cannot_lock": "Unable to lock door", | ||
"create_modify_lock": "Create a doorlock, or modify an existing one", | ||
"add_door_textui": "**Create new door** \nInteract with [LMB] \nCancel with [RMB]", | ||
"command_closest": "Open UI directly to closest doorlock" | ||
} | ||
"unlocked_door": "Unlocked door", | ||
"locked_door": "Locked door", | ||
"lock_door": "[E] Lock door", | ||
"unlock_door": "[E] Unlock door", | ||
"door_lock": "Door lock", | ||
"passcode": "Passcode", | ||
"lockpick_broke": "Your lockpick broke", | ||
"pick_lock": "Pick lock", | ||
"add_lock": "Add doorlock", | ||
"edit_lock": "Edit doorlock", | ||
"remove_lock": "Remove doorlock", | ||
"cannot_unlock": "Unable to unlock door", | ||
"cannot_lock": "Unable to lock door", | ||
"create_modify_lock": "Create a doorlock, or modify an existing one", | ||
"add_door_textui": "**Create new door** \nInteract with [LMB] \nCancel with [RMB]", | ||
"command_closest": "Open UI directly to closest doorlock" | ||
} |
34 changes: 17 additions & 17 deletions
34
server-data/resources/[bpt_addons]/bpt_doorlock/locales/it.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
{ | ||
"unlocked_door": "Porta sbloccata", | ||
"locked_door": "Porta chiusa", | ||
"lock_door": "[E] Chiudi porta", | ||
"unlock_door": "[E] Apri porta", | ||
"door_lock": "Serratura della porta", | ||
"passcode": "codice di accesso", | ||
"lockpick_broke": "il tuo grimaldello si è rotto", | ||
"pick_lock": "Scassina serratura", | ||
"add_lock": "Aggiungi serratura", | ||
"edit_lock": "Modifica serratura", | ||
"remove_lock": "Rimuovi serratura", | ||
"cannot_unlock": "Impossibile aprire la porta", | ||
"cannot_lock": "Impossibile chiudere la porta", | ||
"create_modify_lock": "Crea una serratura o modificane una esistente", | ||
"add_door_textui": "**Crea una nuova porta** \nInteragire con [LMB] \nAnnulla con [RMB]", | ||
"command_closest": "Apri l'interfaccia utente direttamente alla serratura più vicina" | ||
} | ||
"unlocked_door": "Porta sbloccata", | ||
"locked_door": "Porta chiusa", | ||
"lock_door": "[E] Chiudi porta", | ||
"unlock_door": "[E] Apri porta", | ||
"door_lock": "Serratura della porta", | ||
"passcode": "codice di accesso", | ||
"lockpick_broke": "il tuo grimaldello si è rotto", | ||
"pick_lock": "Scassina serratura", | ||
"add_lock": "Aggiungi serratura", | ||
"edit_lock": "Modifica serratura", | ||
"remove_lock": "Rimuovi serratura", | ||
"cannot_unlock": "Impossibile aprire la porta", | ||
"cannot_lock": "Impossibile chiudere la porta", | ||
"create_modify_lock": "Crea una serratura o modificane una esistente", | ||
"add_door_textui": "**Crea una nuova porta** \nInteragire con [LMB] \nAnnulla con [RMB]", | ||
"command_closest": "Apri l'interfaccia utente direttamente alla serratura più vicina" | ||
} |