Client Events

Listener for Freecam

Triggered when freecam mode is activated. Use this event to temporarily disable or adjust anti-cheat checks (e.g., freecam detection) to avoid false bans.

AddEventHandler('vms_housing:cl:enteringFreecam', function()
    -- Your bypass to anticheat
end)

Triggered when exiting freecam mode. Use this event to re-enable normal anti-cheat checking.

AddEventHandler('vms_housing:cl:exitingFreecam', function()
    -- Restore anti-freecam checking
end)

Listener for Property Zone

Called when a player enters a property zone.

AddEventHandler('vms_housing:cl:enteredPropertyZone', function(propertyId, propertyData)
    -- Your custom logic here
end)

Called when a player leaves the property zone.

AddEventHandler('vms_housing:cl:leftPropertyZone', function(propertyId)
    -- Your custom logic here
end)

Listener for Property

Called when the owner of the property is changed (purchase, sale, transfer, agency).

AddEventHandler('vms_housing:cl:updatedOwner', function(propertyId)
    -- Your custom logic here
end)

Called when the tenant of the property changes (rental, termination of rental).

AddEventHandler('vms_housing:cl:updatedRenter', function(propertyId)
    -- Your custom logic here
end)

Called when a player's permissions for a property change.

AddEventHandler('vms_housing:cl:updatedPermissions', function(propertyId)
    -- Your custom logic here
end)

Last updated

Was this helpful?