Files
community_bridge/modules/housing/bcs-housing/client.lua
T

19 lines
527 B
Lua
Raw Normal View History

2025-05-18 23:45:37 -04:00
if GetResourceState('bcs-housing') == 'missing' then return end
2025-04-15 07:06:57 -04:00
Housing = Housing or {}
RegisterNetEvent('Housing:client:EnterHome', function(insideId)
TriggerServerEvent('community_bridge:Server:_OnPlayerInside', insideId)
end)
RegisterNetEvent("Housing:client:DeleteFurnitures", function()
TriggerServerEvent('community_bridge:Server:_OnPlayerInside', false)
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 "bcs-housing"
end
return Housing