Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed from ox_lib notify to Framework[Config.Notify].Notify. #52

Merged
merged 1 commit into from
Jul 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions server/sv_property.lua
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ RegisterNetEvent("ps-housing:server:removeAccess", function(property_id, citizen

if not property.propertyData.owner == citizenid then
-- hacker ban or something
TriggerClientEvent("ox_lib:notify", src, {title="You are not the owner of this property!", type="error"})
Framework[Config.Notify].Notify(src, "You are not the owner of this property!", "error")
return
end

Expand Down Expand Up @@ -795,4 +795,4 @@ RegisterNetEvent('ps-housing:server:resetMetaData', function()

insideMeta.property_id = nil
Player.Functions.SetMetaData("inside", insideMeta)
end)
end)