returns added everywhere per crowleys request
This commit is contained in:
1 parent
3e63414973
commit
7e0124f02e
150 files changed
+426
-130
No files matched your search
@@ -1 +1,3 @@
|
||||
Housing = Housing or {}
|
||||
Housing = Housing or {}
|
||||
|
||||
return Housing
|
||||
@@ -9,4 +9,6 @@ RegisterNetEvent('community_bridge:Server:_OnPlayerInside', function(src, inside
|
||||
local playerEntity = GetPlayerPed(src)
|
||||
local playerCoords = GetEntityCoords(playerEntity)
|
||||
TriggerEvent('community_bridge:Client:OnPlayerInside', src, insideId, currentBucket, playerCoords)
|
||||
end)
|
||||
end)
|
||||
|
||||
return Housing
|
||||
@@ -8,4 +8,6 @@ end)
|
||||
|
||||
RegisterNetEvent("Housing:client:DeleteFurnitures", function()
|
||||
TriggerServerEvent('community_bridge:Server:_OnPlayerInside', false)
|
||||
end)
|
||||
end)
|
||||
|
||||
return Housing
|
||||
@@ -1,3 +1,5 @@
|
||||
if GetResourceState('bcs-housing') ~= 'started' then return end
|
||||
|
||||
Housing = Housing or {}
|
||||
Housing = Housing or {}
|
||||
|
||||
return Housing
|
||||
@@ -1,3 +1,5 @@
|
||||
if GetResourceState('esx_property') ~= 'started' then return end
|
||||
|
||||
Housing = Housing or {}
|
||||
Housing = Housing or {}
|
||||
|
||||
return Housing
|
||||
@@ -10,4 +10,6 @@ end)
|
||||
RegisterNetEvent('esx_property:leave', function(insideId)
|
||||
local src = source
|
||||
TriggerEvent('community_bridge:Server:_OnPlayerInside', src, insideId)
|
||||
end)
|
||||
end)
|
||||
|
||||
return Housing
|
||||
@@ -1,3 +1,5 @@
|
||||
if GetResourceState('ps-housing') ~= 'started' then return end
|
||||
|
||||
Housing = Housing or {}
|
||||
Housing = Housing or {}
|
||||
|
||||
return Housing
|
||||
@@ -10,4 +10,6 @@ end)
|
||||
RegisterNetEvent('ps-housing:server:leaveProperty', function(insideId)
|
||||
local src = source
|
||||
TriggerEvent('community_bridge:Server:_OnPlayerInside', src, insideId)
|
||||
end)
|
||||
end)
|
||||
|
||||
return Housing
|
||||
@@ -1,3 +1,5 @@
|
||||
if GetResourceState('qb-appartments') ~= 'started' then return end
|
||||
|
||||
Housing = Housing or {}
|
||||
Housing = Housing or {}
|
||||
|
||||
return Housing
|
||||
@@ -6,4 +6,6 @@ RegisterNetEvent('qb-apartments:server:SetInsideMeta', function(house, insideId,
|
||||
local src = source
|
||||
insideId = bool and house .. '-' .. insideId or nil
|
||||
TriggerEvent('community_bridge:Server:_OnPlayerInside', src, insideId)
|
||||
end)
|
||||
end)
|
||||
|
||||
return Housing
|
||||
@@ -1,3 +1,5 @@
|
||||
if GetResourceState('qb-houses') ~= 'started' then return end
|
||||
|
||||
Housing = Housing or {}
|
||||
Housing = Housing or {}
|
||||
|
||||
return Housing
|
||||
@@ -6,4 +6,6 @@ RegisterNetEvent('qb-houses:server:SetInsideMeta', function(insideId, bool)
|
||||
local src = source
|
||||
insideId = bool and insideId or nil
|
||||
TriggerEvent('community_bridge:Server:_OnPlayerInside', src, insideId)
|
||||
end)
|
||||
end)
|
||||
|
||||
return Housing
|
||||
Reference in new issue
Block a user