Skip to content

Commit

Permalink
eigenes esx
Browse files Browse the repository at this point in the history
  • Loading branch information
1nexis committed Jan 25, 2024
1 parent d41ac35 commit 0093ca6
Show file tree
Hide file tree
Showing 54 changed files with 11,930 additions and 11,389 deletions.
9 changes: 9 additions & 0 deletions [core]/es_extended/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_size = 4
indent_style = tab
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
11 changes: 5 additions & 6 deletions [core]/es_extended/client/common.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
exports("getSharedObject", function()
return ESX
exports('getSharedObject', function()
return ESX
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://documentation.esx-framework.org/tutorials/tutorials-esx/sharedevent for how to fix!"):format(Invoke))
end)
if GetResourceState('ox_inventory') ~= 'missing' then
Config.OxInventory = true
end
Loading

0 comments on commit 0093ca6

Please sign in to comment.