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

chore: update copyright year #1587

Merged
merged 21 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
db535e1
feat(.github): PR template
Mycroft-Studios Jan 4, 2025
a0dfa0f
Merge pull request #1579 from Mycroft-Studios/pr-template
Mycroft-Studios Jan 4, 2025
a724874
fix(es_extended/imports): remove lua 5.4 dependency for importing res…
Kenshiin13 Jan 2, 2025
7cfb37c
fix(es_extended/server/functions): fix ESX.GetItems returning nil
Kenshiin13 Jan 2, 2025
81b040d
Merge pull request #1575 from Kenshiin13/fix-import
Kenshiin13 Jan 2, 2025
13b44b5
feat(es_extended/shared/modules/table): add ESX.Table.Wipe
Kenshiin13 Jan 2, 2025
29e8232
feat(es_extended/imports): use ox_lib require
Kenshiin13 Jan 2, 2025
6e60ef6
Merge branch 'dev' into ox-lib-require
Kenshiin13 Jan 2, 2025
6577743
Merge pull request #1576 from Kenshiin13/ox-lib-require
Kenshiin13 Jan 3, 2025
5583578
chore: version bump
Mycroft-Studios Jan 2, 2025
351377d
Merge pull request #1573 from esx-framework/dev
Mycroft-Studios Jan 2, 2025
92ad81a
Merge pull request #1574 from Mycroft-Studios/main
Mycroft-Studios Jan 2, 2025
208a705
Merge branch 'dev' into new-docs-link
Mycroft-Studios Jan 4, 2025
83e3538
chore: update docs link
Mycroft-Studios Jan 4, 2025
0690f10
Merge pull request #1580 from Mycroft-Studios/new-docs-link
Mycroft-Studios Jan 4, 2025
c8224ca
Merge pull request #1584 from esx-framework/dev
Arctos2win Jan 6, 2025
bbcb3f2
Revert "Dev"
Arctos2win Jan 6, 2025
ef98c71
Merge pull request #1585 from esx-framework/revert-1584-dev
Arctos2win Jan 6, 2025
a18a714
Merge pull request #1582 from Kenshiin13/1.12.3-hotfix
Arctos2win Jan 6, 2025
642b1e6
chore: bump manifest version to 1.12.3
github-actions[bot] Jan 6, 2025
968c558
chore: update copyright year
Mycroft-Studios Jan 8, 2025
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
22 changes: 22 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
### Description
<!-- Explain What this PR does -->

---
### Motivation
<!-- Explain why you are making this PR -->

---

### **Implementation Details**
<!-- Explain how your implemenation meets your goal -->
---

### Usage Example
<!-- If you are adding or editing functions/events show usage examples -->
---

### PR Checklist
- [] My commit messages and PR title follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard.
- [] My changes have been tested locally and function as expected.
- [] My PR does not introduce any breaking changes.
- [] I have provided a clear explanation of what my PR does, including the reasoning behind the changes and any relevant context.
4 changes: 2 additions & 2 deletions [core]/cron/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

cron
Copyright (C) 2015-2024 Jérémie N'gadi
Copyright (C) 2015-2025 Jérémie N'gadi

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

cron Copyright (C) 2015-2024 Jérémie N'gadi
cron Copyright (C) 2015-2025 Jérémie N'gadi
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
2 changes: 1 addition & 1 deletion [core]/cron/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ TriggerEvent('cron:runAt', 18, 30, CronTask)

cron - run tasks at specific intervals!

Copyright (C) 2015-2024 Jérémie N'gadi
Copyright (C) 2015-2025 Jérémie N'gadi

This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.

Expand Down
2 changes: 1 addition & 1 deletion [core]/cron/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ game 'gta5'
author 'ESX-Framework'
description 'Allows resources to Run tasks at specific intervals.'
lua54 'yes'
version '1.12.2'
version '1.12.3'

server_script 'server/main.lua'
4 changes: 2 additions & 2 deletions [core]/es_extended/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

es_extended
Copyright (C) 2015-2024 Jérémie N'gadi
Copyright (C) 2015-2025 Jérémie N'gadi

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

es_extended Copyright (C) 2015-2024 Jérémie N'gadi
es_extended Copyright (C) 2015-2025 Jérémie N'gadi
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
2 changes: 1 addition & 1 deletion [core]/es_extended/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

es_extended

Copyright (C) 2015-2024 Jérémie N'gadi
Copyright (C) 2015-2025 Jérémie N'gadi

This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.

Expand Down
84 changes: 41 additions & 43 deletions [core]/es_extended/client/modules/scaleform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ ESX.Scaleform = {}
ESX.Scaleform.Utils = {}

function ESX.Scaleform.ShowFreemodeMessage(title, msg, sec)
local scaleform = ESX.Scaleform.Utils.RunMethod("MP_BIG_MESSAGE_FREEMODE", "SHOW_SHARD_WASTED_MP_MESSAGE", false, title, msg)
local scaleform = ESX.Scaleform.Utils.RequestScaleformMovie("MP_BIG_MESSAGE_FREEMODE")

BeginScaleformMovieMethod(scaleform, "SHOW_SHARD_WASTED_MP_MESSAGE")
ScaleformMovieMethodAddParamTextureNameString(title)
ScaleformMovieMethodAddParamTextureNameString(msg)
EndScaleformMovieMethod()

while sec > 0 do
Wait(0)
Expand All @@ -15,9 +20,25 @@ function ESX.Scaleform.ShowFreemodeMessage(title, msg, sec)
end

function ESX.Scaleform.ShowBreakingNews(title, msg, bottom, sec)
local scaleform = ESX.Scaleform.Utils.RunMethod("BREAKING_NEWS", "SET_TEXT", false, msg, bottom)
ESX.Scaleform.Utils.RunMethod(scaleform, "SET_SCROLL_TEXT", false, 0, 0, title)
ESX.Scaleform.Utils.RunMethod(scaleform, "DISPLAY_SCROLL_TEXT", false, 0, 0)
local scaleform = ESX.Scaleform.Utils.RequestScaleformMovie("BREAKING_NEWS")

BeginScaleformMovieMethod(scaleform, "SET_TEXT")
ScaleformMovieMethodAddParamTextureNameString(msg)
ScaleformMovieMethodAddParamTextureNameString(bottom)
EndScaleformMovieMethod()

BeginScaleformMovieMethod(scaleform, "SET_SCROLL_TEXT")
ScaleformMovieMethodAddParamInt(0) -- top ticker
ScaleformMovieMethodAddParamInt(0) -- Since this is the first string, start at 0
ScaleformMovieMethodAddParamTextureNameString(title)

EndScaleformMovieMethod()

BeginScaleformMovieMethod(scaleform, "DISPLAY_SCROLL_TEXT")
ScaleformMovieMethodAddParamInt(0) -- Top ticker
ScaleformMovieMethodAddParamInt(0) -- Index of string

EndScaleformMovieMethod()

while sec > 0 do
Wait(0)
Expand All @@ -30,7 +51,17 @@ function ESX.Scaleform.ShowBreakingNews(title, msg, bottom, sec)
end

function ESX.Scaleform.ShowPopupWarning(title, msg, bottom, sec)
local scaleform = ESX.Scaleform.Utils.RunMethod("POPUP_WARNING", "SHOW_POPUP_WARNING", false, 500.0, title, msg, bottom, true)
local scaleform = ESX.Scaleform.Utils.RequestScaleformMovie("POPUP_WARNING")

BeginScaleformMovieMethod(scaleform, "SHOW_POPUP_WARNING")

ScaleformMovieMethodAddParamFloat(500.0) -- black background
ScaleformMovieMethodAddParamTextureNameString(title)
ScaleformMovieMethodAddParamTextureNameString(msg)
ScaleformMovieMethodAddParamTextureNameString(bottom)
ScaleformMovieMethodAddParamBool(true)

EndScaleformMovieMethod()

while sec > 0 do
Wait(0)
Expand All @@ -43,7 +74,11 @@ function ESX.Scaleform.ShowPopupWarning(title, msg, bottom, sec)
end

function ESX.Scaleform.ShowTrafficMovie(sec)
local scaleform = ESX.Scaleform.Utils.RunMethod("TRAFFIC_CAM", "PLAY_CAM_MOVIE", false)
local scaleform = ESX.Scaleform.Utils.RequestScaleformMovie("TRAFFIC_CAM")

BeginScaleformMovieMethod(scaleform, "PLAY_CAM_MOVIE")

EndScaleformMovieMethod()

while sec > 0 do
Wait(0)
Expand All @@ -64,40 +99,3 @@ function ESX.Scaleform.Utils.RequestScaleformMovie(movie)

return scaleform
end

--- Executes a method on a scaleform movie with optional arguments and return value.
--- The caller is responsible for disposing of the scaleform using `SetScaleformMovieAsNoLongerNeeded`.
---@param scaleform number|string # Scaleform handle or name to request the scaleform movie
---@param methodName string # The method name to call on the scaleform
---@param returnValue? boolean # Whether to return the value from the method
---@param ... number|string|boolean # Arguments to pass to the method
---@return number, number? # The scaleform handle, and the return value if `returnValue` is true
function ESX.Scaleform.Utils.RunMethod(scaleform, methodName, returnValue, ...)
scaleform = type(scaleform) == "number" and scaleform or ESX.Scaleform.Utils.RequestScaleformMovie(scaleform)
BeginScaleformMovieMethod(scaleform, methodName)

local args = { ... }
for i, arg in ipairs(args) do
local typeArg = type(arg)

if typeArg == "number" then
if math.type(arg) == "float" then
ScaleformMovieMethodAddParamFloat(arg)
else
ScaleformMovieMethodAddParamInt(arg)
end
elseif typeArg == "string" then
ScaleformMovieMethodAddParamTextureNameString(arg)
elseif typeArg == "boolean" then
ScaleformMovieMethodAddParamBool(arg)
end
end

if returnValue then
return scaleform, EndScaleformMovieMethodReturnValue()
end

EndScaleformMovieMethod()

return scaleform
end
2 changes: 1 addition & 1 deletion [core]/es_extended/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ fx_version 'cerulean'
game 'gta5'
description 'The Core resource that provides the functionalities for all other resources.'
lua54 'yes'
version '1.12.2'
version '1.12.3'

shared_scripts {
'locale.lua',
Expand Down
2 changes: 1 addition & 1 deletion [core]/esx_chat_theme/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A ESX-Based Chat-theme for your server

esx_chat_theme - ESX Chat Theme

Copyright (C) 2024 Jérémie N'gadi
Copyright (C) 2025 Jérémie N'gadi

This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.

Expand Down
2 changes: 1 addition & 1 deletion [core]/esx_chat_theme/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version '1.12.2'
version '1.12.3'
author 'ESX-Framework'
description 'A ESX Stylised theme for the chat resource.'

Expand Down
4 changes: 2 additions & 2 deletions [core]/esx_context/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

esx_context
Copyright (C) 2022-2024 ESX Framework
Copyright (C) 2022-2025 ESX Framework

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

esx_context Copyright (C) 2022-2024 ESX Framework
esx_context Copyright (C) 2022-2025 ESX Framework
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
2 changes: 1 addition & 1 deletion [core]/esx_context/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A elegant, easy to use Context Menu system to make User Interactions clean and h

esx_context

Copyright (C) 2022-2024 ESX Framework
Copyright (C) 2022-2025 ESX Framework

This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.

Expand Down
2 changes: 1 addition & 1 deletion [core]/esx_context/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ game 'gta5'
author 'ESX-Framework & Brayden'
description 'A simplistic context menu for ESX.'
lua54 'yes'
version '1.12.2'
version '1.12.3'

ui_page 'index.html'

Expand Down
4 changes: 2 additions & 2 deletions [core]/esx_identity/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

esx_identity
Copyright (C) 2015-2024 Jérémie N'gadi
Copyright (C) 2015-2025 Jérémie N'gadi

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

esx_identity Copyright (C) 2015-2024 Jérémie N'gadi
esx_identity Copyright (C) 2015-2025 Jérémie N'gadi
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
2 changes: 1 addition & 1 deletion [core]/esx_identity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ A Core Resource that Allows the player to Pick their characters, Name, Gender, H

esx_identity - Make your Character a Person!

Copyright (C) 2015-2024 Jérémie N'gadi
Copyright (C) 2015-2025 Jérémie N'gadi

This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.

Expand Down
2 changes: 1 addition & 1 deletion [core]/esx_identity/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ fx_version 'adamant'
game 'gta5'
description 'Allows the player to Pick their characters: Name, Gender, Height and Date-of-birth.'
lua54 'yes'
version '1.12.2'
version '1.12.3'

shared_scripts {
'@es_extended/imports.lua',
Expand Down
4 changes: 2 additions & 2 deletions [core]/esx_loadingscreen/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

esx_loadingscreen
Copyright (C) 2020-2024 ESX Framework
Copyright (C) 2020-2025 ESX Framework

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

esx_loadingscreen Copyright (C) 2020-2024 ESX Framework
esx_loadingscreen Copyright (C) 2020-2025 ESX Framework
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
2 changes: 1 addition & 1 deletion [core]/esx_loadingscreen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A simple but beautiful Loading Screen for your server!

esx_loadingscreen - Loading in style!

Copyright (C) 2020-2024 ESX Framework
Copyright (C) 2020-2025 ESX Framework

This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.

Expand Down
2 changes: 1 addition & 1 deletion [core]/esx_loadingscreen/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ game 'common'
fx_version 'cerulean'
author 'ESX-Framework'
description 'Allows resources to Run tasks at specific intervals.'
version '1.12.2'
version '1.12.3'
lua54 'yes'

loadscreen 'index.html'
Expand Down
4 changes: 2 additions & 2 deletions [core]/esx_menu_default/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

esx_menu_default
Copyright (C) 2015-2024 Jérémie N'gadi
Copyright (C) 2015-2025 Jérémie N'gadi

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

esx_menu_default Copyright (C) 2015-2024 Jérémie N'gadi
esx_menu_default Copyright (C) 2015-2025 Jérémie N'gadi
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
2 changes: 1 addition & 1 deletion [core]/esx_menu_default/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A default List type menu for ESX.

esx_menu_default - Default Menu!

Copyright (C) 2015-2024 Jérémie N'gadi
Copyright (C) 2015-2025 Jérémie N'gadi

This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.

Expand Down
2 changes: 1 addition & 1 deletion [core]/esx_menu_default/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ fx_version 'adamant'
game 'gta5'
description 'A basic menu system for ESX Legacy.'
lua54 'yes'
version '1.12.2'
version '1.12.3'

client_scripts { '@es_extended/imports.lua', 'client/main.lua' }

Expand Down
4 changes: 2 additions & 2 deletions [core]/esx_menu_dialog/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

esx_menu_dialog
Copyright (C) 2015-2024 Jérémie N'gadi
Copyright (C) 2015-2025 Jérémie N'gadi

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

esx_menu_dialog Copyright (C) 2015-2024 Jérémie N'gadi
esx_menu_dialog Copyright (C) 2015-2025 Jérémie N'gadi
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
Loading
Loading