Delete client directory

This commit is contained in:
Mustache Dom authored and GitHub committed 2023-12-07 15:43:50 -08:00
1 parent 399592ae7f
commit 575da36175
15 files changed
-4470

No files matched your search

-29
View File
@@ -1,29 +0,0 @@
CreateThread(function()
local current = "g_m_y_famdnf_01"
RequestModel(current)
while not HasModelLoaded(current) do
Wait(0)
end
local CurrentLocation = Config.Travellingmerchant[math.random(#Config.Travellingmerchant)]
travellingmerchant = CreatePed(0, current,CurrentLocation.x,CurrentLocation.y,CurrentLocation.z-1, CurrentLocation.h, false, false)
FreezeEntityPosition(travellingmerchant, true)
SetEntityInvincible(travellingmerchant, true)
exports['qb-target']:AddTargetEntity(travellingmerchant, {
options = {
{
type = "client",
label = "Travelling Merchant",
icon = "fas fa-eye",
event = "md-drugs:client:OpenMerchant"
},
},
distance = 2.0
})
end)
RegisterNetEvent('md-drugs:client:OpenMerchant')
AddEventHandler('md-drugs:client:OpenMerchant', function()
TriggerServerEvent("inventory:server:OpenInventory", "shop", "travelling merchant", Config.Items)
end)