Discord + +Copyright (C) 2022-2024 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. + +This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details. + +ATTENTION: +You are not authorized to change the name of the resource and the resources within it. + +If you want to contribute you can open a pull request. + +You are not authorized to sell this software (this is free project). + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. This asset was created as a free wallet script using ox_inventory @@ -24,4 +42,4 @@ Item to add to `ox_inventory/data/items.lua` export = 'bpt_wallet.openWallet' } }, -``` +``` \ No newline at end of file From b3c1c054c6a50266d58af8649731a351083db2c3 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Fri, 12 Jan 2024 12:23:17 +0100 Subject: [PATCH 4/6] chore: bpt_wallet\fxmanifest.lua update to version 1.0.0 --- server-data/resources/[bpt_addons]/bpt_wallet/fxmanifest.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-data/resources/[bpt_addons]/bpt_wallet/fxmanifest.lua b/server-data/resources/[bpt_addons]/bpt_wallet/fxmanifest.lua index e4ab0a035..14b583fcb 100644 --- a/server-data/resources/[bpt_addons]/bpt_wallet/fxmanifest.lua +++ b/server-data/resources/[bpt_addons]/bpt_wallet/fxmanifest.lua @@ -3,7 +3,7 @@ game 'gta5' lua54 'yes' author 'bitpredator' description 'BPT Wallet for ox_inventory' -version '0.0.4' +version '1.0.0' client_scripts { 'client/**.lua' From f55fb9ff6da6cbf1f923cee12afa008d871fa261 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Fri, 12 Jan 2024 12:32:40 +0100 Subject: [PATCH 5/6] fix: variable ped is never accessed + accessing undefined variable hash --- server-data/resources/[bpt_addons]/bpt_wallet/client/client.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/server-data/resources/[bpt_addons]/bpt_wallet/client/client.lua b/server-data/resources/[bpt_addons]/bpt_wallet/client/client.lua index e94ab0977..6e85cb2f7 100644 --- a/server-data/resources/[bpt_addons]/bpt_wallet/client/client.lua +++ b/server-data/resources/[bpt_addons]/bpt_wallet/client/client.lua @@ -1,13 +1,11 @@ local WalEquipped, walObj local ox_inventory = exports.ox_inventory -local ped = cache.ped local justConnect = true local function RemoveWal() if DoesEntityExist(walObj) then DeleteObject(walObj) end - SetModelAsNoLongerNeeded(hash) walObj = nil WalEquipped = nil end From 5ee42de534bba5fc706edbd96d1bdaf55cf81f0e Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Fri, 12 Jan 2024 12:33:53 +0100 Subject: [PATCH 6/6] chore: bpt_wallet update to version 1.0.0 --- .github/CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 661b78480..a1c845b71 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -93,4 +93,5 @@ fix lint error: unused argument last; accessing undefined variable Invoke; unuse 67. [bpt_teleport]: chore: set English as the default language @bitpredator 68. [bpt_teleport]: chore: update the license file and readme for the year 2024 @bitpredator 69. [bpt_unicornjob]: refactor: bpt_unicornjob inventory implementation @bitpredator -70. [bpt_vehicletax]: chore: bpt_vehicletax update to version 1.0.0 @bitpredator \ No newline at end of file +70. [bpt_vehicletax]: chore: bpt_vehicletax update to version 1.0.0 @bitpredator +71. [bpt_wallet]: chore: bpt_wallet update to version 1.0.0 @bitpredator \ No newline at end of file