Events
Server Events
rxhousing:onPropertyBought
Triggered after a property has been bought.
RegisterNetEvent('rxhousing:onPropertyBought', function(playerId, property) end)
Source of the player that bought the property.
Data of the property that has been bought.
rxhousing:onPropertyRented
Triggered after a property has been rented.
RegisterNetEvent('rxhousing:onPropertyRented', function(playerId, property) end)
Source of the player that rented the property.
Data of the property that has been rented.
rxhousing:onPropertyEntered
Triggered after a player has entered a property.
RegisterNetEvent('rxhousing:onPropertyEntered', function(src, property, isBreakIn, isRaid) end)
Source of the player that entered the property.
Data of the property that has been entered.
Indicates if the player is breaking in.
Indicates if the player is raiding the property.
rxhousing:onPropertyExited
Triggered after a player has exited a property.
RegisterNetEvent('rxhousing:onPropertyExited', function(src, propertyId) end)
Source of the player that exited the property.
ID of the property that has been exited.
rxhousing:onPropertyCreated
Triggered when a new property is created.
RegisterNetEvent('rxhousing:onPropertyCreated', function(property) end)
Data of the newly created property.
rxhousing:onKeyholderAdded
Triggered when a keyholder is added to a property.
RegisterNetEvent('rxhousing:onKeyholderAdded', function(propertyId, identifier, addedBy) end)
ID of the property.
Identifier of the new keyholder.
Source of who added the keyholder or 'Export'.
rxhousing:onKeyholderRemoved
Triggered when a keyholder is removed from a property.
RegisterNetEvent('rxhousing:onKeyholderRemoved', function(propertyId, identifier, removedBy) end)
ID of the property.
Identifier of the removed keyholder.
Source of who removed the keyholder or 'Export'.
rxhousing:onFurniturePlaced
Triggered when furniture is placed in a property.
RegisterNetEvent('rxhousing:onFurniturePlaced', function(propertyId, furnitureData, playerId) end)
ID of the property.
Data about the placed furniture including model, position, etc.
Source of the player who placed the furniture.
rxhousing:onFurnitureRemoved
Triggered when furniture is removed from a property.
RegisterNetEvent('rxhousing:onFurnitureRemoved', function(propertyId, furnitureId, playerId) end)
ID of the property.
ID of the furniture that was removed.
Source of the player who removed the furniture.
rxhousing:onPropertyTransferred
Triggered when property ownership is transferred.
RegisterNetEvent('rxhousing:onPropertyTransferred', function(propertyId, oldOwner, newOwner) end)
ID of the property.
Identifier of the previous owner.
Identifier of the new owner.
Client Events
No client-sided events available at this time.
