From 1f3d7154aabf2b2ad12db9049cac2a9be575c1f4 Mon Sep 17 00:00:00 2001 From: Mustache Dom <123716453+Mustachedom@users.noreply.github.com> Date: Sat, 16 Aug 2025 23:52:07 -0700 Subject: [PATCH] - delete test commands --- client/functions.lua | 17 ----------------- server/functions.lua | 10 ---------- 2 files changed, 27 deletions(-) diff --git a/client/functions.lua b/client/functions.lua index 031b843..afd629c 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -2,23 +2,6 @@ local minigametype = Config.minigametype local dispatch = Config.Dispatch -RegisterCommand('te', function(source, args) - if #args < 1 then - print('Usage: /te eventname [arg1] [arg2] ...') - return - end - - local eventName = args[1] - - local eventArgs = {} - for i = 2, #args do - local arg = args[i] - local num = tonumber(arg) - table.insert(eventArgs, num ~= nil and num or arg) - end - - TriggerServerEvent(eventName, table.unpack(eventArgs)) -end, false) function loadParticle(dict) if not HasNamedPtfxAssetLoaded(dict) then diff --git a/server/functions.lua b/server/functions.lua index 48e3428..3589451 100644 --- a/server/functions.lua +++ b/server/functions.lua @@ -41,16 +41,6 @@ function verifyHas(source, items) return false end -RegisterCommand('TestMissing', function(source) - local items = { - coke = 5, - heroin = 2, - lsd = 1 - } - local src = source - verifyHas(src, items) -end) - local function handleFresh(source) local table = json.encode({ coke = 0,lsd = 0,heroin = 0,dealerrep = 0,