Skip to content

Commit

Permalink
fix: fixed link to getSharedObject documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Oct 21, 2024
1 parent f70cc0d commit 868ffa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server-data/resources/[esx]/es_extended/server/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ end)

AddEventHandler("esx:getSharedObject", function()
local Invoke = GetInvokingResource()
print(("[^1ERROR^7] Resource ^5%s^7 Used the ^5getSharedObject^7 Event, this event ^1no longer exists!^7 Visit https://bitpredator.github.io/bptdevelopment/docs/esx-tutorial/sharedevent for how to fix!"):format(Invoke))
error(("Resource ^5%s^7 Used the ^5getSharedObject^7 Event, this event ^1no longer exists!^7 Visit https://bitpredator.github.io/bptdevelopment/docs/FiveM/sharedevent/ for how to fix!"):format(Invoke))
end)

exports("getSharedObject", function()
Expand Down

0 comments on commit 868ffa1

Please sign in to comment.