Skip to content

Commit

Permalink
Merge pull request #918 from bitpredator/dev
Browse files Browse the repository at this point in the history
fix: (bpt_addonaccount) Undefined global `MySQL`.
  • Loading branch information
bitpredator authored Dec 10, 2024
2 parents b4c874e + 6261dcf commit 04cfc5f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions server-data/resources/[bpt_addons]/bpt_addonaccount/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.

<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 2024 bitpredator
Copyright (C) 2024-2025 bitpredator

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:

bpt_addonaccount Copyright (C) 2024 bitpredator
bpt_addonaccount Copyright (C) 2024-2025 bitpredator
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1 align='center'>bpt_addonaccount</a></h1>
<p align='center'><a href='https://discord.gg/ksGfNvDEfq'>Discord</a>

Copyright (C) 2024 bitpredator
Copyright (C) 2024-2025 bitpredator

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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ game("gta5")
author("bitpredator")
description("Allows resources to store account data, such as society funds")
lua54("yes")
version("1.0.2")
version("1.0.3")

server_scripts({
"@es_extended/imports.lua",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---@diagnostic disable: undefined-global

function CreateAddonAccount(name, owner, money)
local self = {}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---@diagnostic disable: undefined-global

local AccountsIndex, Accounts, SharedAccounts = {}, {}, {}

AddEventHandler("onResourceStart", function(resourceName)
Expand Down

0 comments on commit 04cfc5f

Please sign in to comment.