Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit fb2225e

Browse files
committed
chore: add copyright notices to each file
Some people accidentally, mistakenly, and without any malicious intent forget to attribute code from this resource to its source. This change will hopefully assist people, so that they do not make that mistake again.
1 parent dc6f7fa commit fb2225e

File tree

72 files changed

+739
-206
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+739
-206
lines changed

imports/__addCommand/server.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
-- DO NOT USE! Old syntax for addCommand (prior to v3.0)
22
---@todo convert input and call standard function?
33

4+
--[[
5+
https://github.com/overextended/ox_lib
6+
7+
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
8+
9+
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
10+
]]
11+
412
local commands = {}
513

614
SetTimeout(1000, function()

imports/addCommand/server.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
--[[
2+
https://github.com/overextended/ox_lib
3+
4+
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
5+
6+
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
7+
]]
8+
19
---@class OxCommandParams
210
---@field name string
311
---@field help? string

imports/addKeybind/client.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
--[[
2+
https://github.com/overextended/ox_lib
3+
4+
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
5+
6+
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
7+
]]
8+
19
if cache.game == 'redm' then return end
210

311
---@class KeybindProps

imports/array/shared.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
--[[
2+
https://github.com/overextended/ox_lib
3+
4+
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
5+
6+
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
7+
]]
8+
19
---@class Array<T> : OxClass, { [number]: T }
210
lib.array = lib.class('Array')
311

imports/callback/client.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
--[[
2+
https://github.com/overextended/ox_lib
3+
4+
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
5+
6+
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
7+
]]
8+
19
local pendingCallbacks = {}
210
local timers = {}
311
local cbEvent = '__ox_cb_%s'

imports/callback/server.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
--[[
2+
https://github.com/overextended/ox_lib
3+
4+
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
5+
6+
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
7+
]]
8+
19
local pendingCallbacks = {}
210
local cbEvent = '__ox_cb_%s'
311
local callbackTimeout = GetConvarInt('ox:callbackTimeout', 300000)

imports/class/shared.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
--[[
2+
https://github.com/overextended/ox_lib
3+
4+
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
5+
6+
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
7+
]]
8+
19
---@diagnostic disable: invisible
210
local getinfo = debug.getinfo
311

imports/cron/server.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
--[[
2+
https://github.com/overextended/ox_lib
3+
4+
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
5+
6+
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
7+
]]
8+
19
lib.cron = {}
210

311
---@alias Date { year: number, month: number, day: number, hour: number, min: number, sec: number, wday: number, yday: number, isdst: boolean }

imports/disableControls/client.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
--[[
2+
https://github.com/overextended/ox_lib
3+
4+
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
5+
6+
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
7+
]]
8+
19
--- Call on frame to disable all stored keys.
210
--- ```
311
--- disableControls()

imports/dui/client.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
--[[
2+
https://github.com/overextended/ox_lib
3+
4+
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
5+
6+
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
7+
]]
8+
19
---@class DuiProperties
210
---@field url string
311
---@field width number

0 commit comments

Comments
 (0)