Add files via upload

This commit is contained in:
Mustache Dom authored and GitHub committed 2024-05-04 12:19:38 -07:00
1 parent c0a0e4271e
commit 722963ed38
10 files changed
+22 -24

No files matched your search

+2 -3
View File
@@ -135,7 +135,6 @@ RegisterNetEvent("md-drugs:client:setheroinlabkit")
AddEventHandler("md-drugs:client:setheroinlabkit", function()
if herointable then
Notify(Lang.Heroin.tableout, 'error')
TriggerServerEvent('md-drugs:server:getheroinlabkitback')
else
local PedCoords = GetEntityCoords(PlayerPedId())
if not progressbar(Lang.Heroin.table, 4000, 'uncuff') then TriggerServerEvent('md-drugs:server:getheroinlabkitback') return end
@@ -170,8 +169,8 @@ local PedCoords = GetEntityCoords(PlayerPedId())
local options = {
{ event = "md-drugs:client:cleanheroinlabkit", icon = "fas fa-box-circle-check", label = "Clean It", data = dirtylabkitheroin}
}
if Config.OxTarget then
exports.ox_target:addLocalEntity(dirtylabkitheroin, { options = options})
if Config.oxtarget then
exports.ox_target:addLocalEntity(dirtylabkitheroin,options )
else
exports['qb-target']:AddTargetEntity(dirtylabkitheroin, {options = options})
end