mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
chore: adjust links
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
local function allowAce(allow)
|
||||
|
||||
2
resource/cache/client.lua
vendored
2
resource/cache/client.lua
vendored
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
local cache = _ENV.cache
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
local registeredCallbacks = {}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
local _registerCommand = RegisterCommand
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
---@type promise?
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
---@param value string
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
local contextMenus = {}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
local input
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
---@alias IconProp 'fas' | 'far' | 'fal' | 'fat' | 'fad' | 'fab' | 'fak' | 'fass'
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
---@type { [string]: MenuProps }
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
---@alias NotificationPosition 'top' | 'top-right' | 'top-left' | 'bottom' | 'bottom-right' | 'bottom-left' | 'center-right' | 'center-left'
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
local progress
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
---@class RadialItem
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
---@type promise?
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
---@class TextUIOptions
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
if GetConvarInt('ox:txAdminNotifications', 0) == 0 then return end
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
local settings = require 'resource.settings'
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
function lib.getLocaleKey() return GetConvar('ox:locale', 'en') end
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
if cache.game == 'redm' then return end
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
---@param vehicle number
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
function lib.versionCheck(repository)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
function lib.checkDependency(resource, minimumVersion, printMessage)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
local creatorActive = false
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
||||
|
||||
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
||||
Copyright © 2025 Linden <https://github.com/thelindat>
|
||||
]]
|
||||
|
||||
local function formatNumber(num)
|
||||
|
||||
Reference in New Issue
Block a user