- delete test commands

This commit is contained in:
Mustache Dom committed 2025-08-16 23:52:07 -07:00
1 parent d9fcb11930
commit 1f3d7154aa
2 files changed
-27

No files matched your search

-17
View File
@@ -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
-10
View File
@@ -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,