mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
Updated 2.1.0
Updated everything to new format, N1K0 is about to work on some more stuff.
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6
|
||||
|
||||
NDCore = exports["ND_Core"]:GetCoreObject()
|
||||
NDCore.functions:versionChecker("ND_Doorlocks", GetCurrentResourceName(), "https://github.com/Andyyy7666/ND_Framework", "https://raw.githubusercontent.com/Andyyy7666/ND_Framework/main/ND_Doorlocks/fxmanifest.lua")
|
||||
|
||||
local updatedDoors = {}
|
||||
|
||||
RegisterNetEvent("ND_Doorlocks:syncDoor")
|
||||
@@ -11,4 +15,4 @@ RegisterNetEvent("ND_Doorlocks:getDoors")
|
||||
AddEventHandler("ND_Doorlocks:getDoors", function()
|
||||
local player = source
|
||||
TriggerClientEvent("ND_Doorlocks:returnDoors", player, updatedDoors)
|
||||
end)
|
||||
end)
|
||||
Reference in New Issue
Block a user