Files
community_bridge/modules/housing/esx_property/server.lua
T

21 lines
565 B
Lua
Raw Normal View History

2025-05-18 23:45:37 -04:00
if GetResourceState('esx_property') == 'missing' then return end
2025-04-15 07:06:57 -04:00
Housing = Housing or {}
RegisterNetEvent('esx_property:enter', function(insideId)
local src = source
TriggerEvent('community_bridge:Server:_OnPlayerInside', src, insideId)
end)
RegisterNetEvent('esx_property:leave', function(insideId)
local src = source
TriggerEvent('community_bridge:Server:_OnPlayerInside', src, insideId)
end)
2025-09-10 12:27:12 -04:00
---This will get the name of the in use resource.
---@return string
Housing.GetResourceName = function()
return "esx_property"
end
return Housing