ed
This commit is contained in:
parent
510e3ffcf2
commit
f43cf424cf
305 changed files with 34683 additions and 0 deletions
|
@ -0,0 +1,14 @@
|
|||
Housing = Housing or {}
|
||||
|
||||
---This is an internal event, listen for 'community_bridge:Client:OnPlayerInside' instead.
|
||||
---This event is triggered when a player enters or leaves a property.
|
||||
---@param src number
|
||||
---@param insideId string
|
||||
RegisterNetEvent('community_bridge:Server:_OnPlayerInside', function(src, insideId)
|
||||
local currentBucket = GetPlayerRoutingBucket(src)
|
||||
local playerEntity = GetPlayerPed(src)
|
||||
local playerCoords = GetEntityCoords(playerEntity)
|
||||
TriggerEvent('community_bridge:Client:OnPlayerInside', src, insideId, currentBucket, playerCoords)
|
||||
end)
|
||||
|
||||
return Housing
|
Loading…
Add table
Add a link
Reference in a new issue