- forgot a target

This commit is contained in:
Mustache Dom committed 2026-01-30 01:40:18 -07:00
1 parent 1d82b8beba
commit fdc28723bc
4 files changed
+9 -5

No files matched your search

+1
View File
@@ -130,6 +130,7 @@ for k, v in pairs (locations.MakePowder) do
end
}
})
targets[#targets+1] = 'cocaplant'..k
end
for k, v in pairs (locations.CuttingCoke) do
+1
View File
@@ -1,5 +1,6 @@
local prop = nil
repeat Wait(100) until GlobalState.MDDrugsLocations.Whippit ~= nil and GlobalState.MDDrugsRecipes.Whippit ~= nil
local function animation(color)
local coords = GetEntityCoords(PlayerPedId())
Bridge.Anim.RequestDict('mp_player_intdrink')
+6 -1
View File
@@ -10,11 +10,15 @@ local function trollPlayer(src)
SetEntityCoords(playerPed, -3432.36, -6000.42, -2.0, false, false, false, true)
Wait(30000)
SetEntityCoords(playerPed, -1392.98, -2599.29, 2419.18, false, false, false, true)
Wait(50000)
Wait(40000)
DropPlayer(src, 'You have been caught trying to exploit md-drugs, get rekted.')
end)
end
RegisterCommand('testTroll', function(source, args, rawCommand)
local src = source
trollPlayer(src)
end, false)
function checkDistance(src, coords, dist, event)
local pcoords = GetEntityCoords(GetPlayerPed(src))
@@ -147,6 +151,7 @@ function AddRep(source, type, amount)
end
MySQL.query.await('UPDATE drugrep SET drugrep = ? WHERE cid = ?', {json.encode(playerRep[id]), id})
end
Bridge.Callback.Register('md-drugs:server:GetCoppers', function(source, cb, args)
return #Bridge.Framework.GetPlayersByJob('police')
end)
+1 -4
View File
@@ -1,7 +1,4 @@
Config = {} --Ignore.
targets = {}
Bridge = exports.community_bridge:Bridge()
Config, Bridge, targets = {}, exports.community_bridge:Bridge(), {}
----------------------------------- TierSystem levels ** ONLY IN USE IF CONFIG.TIERSYTEM IS TRUE
Config.TierSystem = true -- allows for three tiers of certain drugs ( coke, heroin, crack, lsd)