Events
Events can be requested at our discord! (https://discord.rxscripts.xyz/)
Server
housing:onHouseBought
RegisterNetEvent('housing:onHouseBought', function(playerId, property)
-- This event will be called whenever a player bought a house
end)
housing:onHouseEntered
RegisterNetEvent('housing:onHouseEntered', function(src, property, isBreakIn, isRaid)
-- You can utilize this event for any custom needs
end)
housing:onHouseExited
RegisterNetEvent('housing:onHouseExited', function(src, propertyId)
-- You can utilize this event for any custom needs
end)