From 7237f72f8a28044aacc02c0430a2754ca467617e Mon Sep 17 00:00:00 2001 From: Mycroft Date: Tue, 24 May 2022 16:17:10 +0100 Subject: [PATCH 1/6] print touch up --- server/server.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/server.lua b/server/server.lua index 15b71a8..a63ede0 100644 --- a/server/server.lua +++ b/server/server.lua @@ -118,9 +118,10 @@ AddEventHandler('onResourceStart', function(resourceName) print("██╔══╝ ╚═══██╗ ██╔██╗ ██║ ██║ ██║██║╚██╔╝██║██╔══██╗██╔══╝ ██╔══██╗██╗ ██║██╔══██║██║ ██╗██╔═██╗ ") print("███████╗██████╔╝██╔╝╚██╗ ███████╗╚██████╔╝██║ ╚═╝ ██║██████╦╝███████╗██║ ██║╚█████╔╝██║ ██║╚█████╔╝██║ ╚██╗") print("╚══════╝╚═════╝ ╚═╝ ╚═╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝ ") - print(" Converted By Mycroft (Manager of ESX-Framework)") + print(" Converted By Mycroft (Director of ESX-Framework)") print(" Website: https://docs.esx-framework.org") print(" TRClassic: https://dsc.gg/trclassic") print(" Original Script: https://github.com/trclassic92/tr-lumberjack") + print("Find unique, high quality scripts & minigames at https://store.rcore.cz/esx - Use creator code ESX for 10% off") print("---------------------------------------------------------------------------------------------------------------") - end) \ No newline at end of file + end) From 09116593b015b6fc3f0ef975d7ca29d91e09cf9d Mon Sep 17 00:00:00 2001 From: a3rgames <80886843+a3rgames@users.noreply.github.com> Date: Fri, 24 Jun 2022 14:18:33 +0200 Subject: [PATCH 2/6] Update config.lua just updated this --- config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.lua b/config.lua index 11de82b..e3bc173 100644 --- a/config.lua +++ b/config.lua @@ -49,7 +49,7 @@ Config.Blips = { }} LumberJob = { - LumberModel = `s_m_y_construct_01`, -- Ped model https://wiki.rage.mp/index.php?title=Peds + LumberModel = "s_m_y_construct_01", -- Ped model https://wiki.rage.mp/index.php?title=Peds LumberHash = 0xD7DA9E99, -- Hash numbers for ped model ChoppingTreeTimer = 12 * 1000, -- 12 second timer From 65aac0b46b2fedce1953707079fbd0e5c0dd94b7 Mon Sep 17 00:00:00 2001 From: Benzo <102178921+Benzo00@users.noreply.github.com> Date: Wed, 14 Sep 2022 05:09:07 +0200 Subject: [PATCH 3/6] Update server.lua --- server/server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.lua b/server/server.lua index a63ede0..5bf7567 100644 --- a/server/server.lua +++ b/server/server.lua @@ -118,7 +118,7 @@ AddEventHandler('onResourceStart', function(resourceName) print("██╔══╝ ╚═══██╗ ██╔██╗ ██║ ██║ ██║██║╚██╔╝██║██╔══██╗██╔══╝ ██╔══██╗██╗ ██║██╔══██║██║ ██╗██╔═██╗ ") print("███████╗██████╔╝██╔╝╚██╗ ███████╗╚██████╔╝██║ ╚═╝ ██║██████╦╝███████╗██║ ██║╚█████╔╝██║ ██║╚█████╔╝██║ ╚██╗") print("╚══════╝╚═════╝ ╚═╝ ╚═╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝ ") - print(" Converted By Mycroft (Director of ESX-Framework)") + print(" Converted By Mycroft & Benzo (Managers of ESX-Framework)") print(" Website: https://docs.esx-framework.org") print(" TRClassic: https://dsc.gg/trclassic") print(" Original Script: https://github.com/trclassic92/tr-lumberjack") From 36f2b660b35d53f065b812c62bef3749566a972b Mon Sep 17 00:00:00 2001 From: Benzo <102178921+Benzo00@users.noreply.github.com> Date: Wed, 14 Sep 2022 05:15:24 +0200 Subject: [PATCH 4/6] Hm --- server/server.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/server.lua b/server/server.lua index 12cdec5..8da95c1 100644 --- a/server/server.lua +++ b/server/server.lua @@ -122,8 +122,8 @@ AddEventHandler('onResourceStart', function(resourceName) print("██╔══╝ ╚═══██╗ ██╔██╗ ██║ ██║ ██║██║╚██╔╝██║██╔══██╗██╔══╝ ██╔══██╗██╗ ██║██╔══██║██║ ██╗██╔═██╗ ") print("███████╗██████╔╝██╔╝╚██╗ ███████╗╚██████╔╝██║ ╚═╝ ██║██████╦╝███████╗██║ ██║╚█████╔╝██║ ██║╚█████╔╝██║ ╚██╗") print("╚══════╝╚═════╝ ╚═╝ ╚═╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝ ") - print(" Converted By Mycroft (Manager of ESX-Framework) & Benzo (Head Of ESX-Support)") - print(" Website: https://docs.esx-framework.org") + print(" Converted By Mycroft & Benzo (Managers of ESX-Framework)") + print(" Benzos Discord: https://discord.gg/pyKDCByzUk") print(" TRClassic: https://dsc.gg/trclassic") print(" Original Script: https://github.com/trclassic92/tr-lumberjack") print("---------------------------------------------------------------------------------------------------------------") From df3cac057d5104047410f2a0d47a2baf2f5b60e4 Mon Sep 17 00:00:00 2001 From: Benzo <102178921+Benzo00@users.noreply.github.com> Date: Wed, 14 Sep 2022 05:18:17 +0200 Subject: [PATCH 5/6] Hm --- server/server.lua | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/server/server.lua b/server/server.lua index 5bf7567..68a4fbe 100644 --- a/server/server.lua +++ b/server/server.lua @@ -107,21 +107,4 @@ RegisterServerEvent('esx-lumberjack:lumberprocessed', function() end end) -AddEventHandler('onResourceStart', function(resourceName) - if (GetCurrentResourceName() ~= resourceName) then - return - end - print("-------------------------------------------------------------------------------------------------------------") - print("███████╗ ██████╗██╗ ██╗ ██╗ ██╗ ██╗███╗ ███╗██████╗ ███████╗██████╗ ██╗ █████╗ █████╗ ██╗ ██╗ ") - print("██╔═══ ██╔════╝╚██╗██╔╝ ██║ ██║ ██║████╗ ████║██╔══██╗██╔════╝██╔══██╗ ██║██╔══██╗██╔══██╗██║██╔╝ ") - print("█████╗ ╚█████╗ ╚███╔╝ ██║ ██║ ██║██╔████╔██║██████╦╝█████╗ ██████╔╝ ██║███████║██║ ╚═╝█████═╝ ") - print("██╔══╝ ╚═══██╗ ██╔██╗ ██║ ██║ ██║██║╚██╔╝██║██╔══██╗██╔══╝ ██╔══██╗██╗ ██║██╔══██║██║ ██╗██╔═██╗ ") - print("███████╗██████╔╝██╔╝╚██╗ ███████╗╚██████╔╝██║ ╚═╝ ██║██████╦╝███████╗██║ ██║╚█████╔╝██║ ██║╚█████╔╝██║ ╚██╗") - print("╚══════╝╚═════╝ ╚═╝ ╚═╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝ ") - print(" Converted By Mycroft & Benzo (Managers of ESX-Framework)") - print(" Website: https://docs.esx-framework.org") - print(" TRClassic: https://dsc.gg/trclassic") - print(" Original Script: https://github.com/trclassic92/tr-lumberjack") - print("Find unique, high quality scripts & minigames at https://store.rcore.cz/esx - Use creator code ESX for 10% off") - print("---------------------------------------------------------------------------------------------------------------") - end) + From 82c3017c544c6c65f369114470fbafbec45dc1b8 Mon Sep 17 00:00:00 2001 From: Benzo <102178921+Benzo00@users.noreply.github.com> Date: Wed, 14 Sep 2022 05:19:23 +0200 Subject: [PATCH 6/6] Removed print --- server/server.lua | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/server/server.lua b/server/server.lua index 8da95c1..9855150 100644 --- a/server/server.lua +++ b/server/server.lua @@ -111,20 +111,3 @@ RegisterServerEvent('esx-lumberjack:lumberprocessed', function() end end) -AddEventHandler('onResourceStart', function(resourceName) - if (GetCurrentResourceName() ~= resourceName) then - return - end - print("-------------------------------------------------------------------------------------------------------------") - print("███████╗ ██████╗██╗ ██╗ ██╗ ██╗ ██╗███╗ ███╗██████╗ ███████╗██████╗ ██╗ █████╗ █████╗ ██╗ ██╗ ") - print("██╔═══ ██╔════╝╚██╗██╔╝ ██║ ██║ ██║████╗ ████║██╔══██╗██╔════╝██╔══██╗ ██║██╔══██╗██╔══██╗██║██╔╝ ") - print("█████╗ ╚█████╗ ╚███╔╝ ██║ ██║ ██║██╔████╔██║██████╦╝█████╗ ██████╔╝ ██║███████║██║ ╚═╝█████═╝ ") - print("██╔══╝ ╚═══██╗ ██╔██╗ ██║ ██║ ██║██║╚██╔╝██║██╔══██╗██╔══╝ ██╔══██╗██╗ ██║██╔══██║██║ ██╗██╔═██╗ ") - print("███████╗██████╔╝██╔╝╚██╗ ███████╗╚██████╔╝██║ ╚═╝ ██║██████╦╝███████╗██║ ██║╚█████╔╝██║ ██║╚█████╔╝██║ ╚██╗") - print("╚══════╝╚═════╝ ╚═╝ ╚═╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝ ") - print(" Converted By Mycroft & Benzo (Managers of ESX-Framework)") - print(" Benzos Discord: https://discord.gg/pyKDCByzUk") - print(" TRClassic: https://dsc.gg/trclassic") - print(" Original Script: https://github.com/trclassic92/tr-lumberjack") - print("---------------------------------------------------------------------------------------------------------------") - end)