Update main.lua

This commit is contained in:
Arctos2win
2023-08-21 00:56:50 +02:00
committed by GitHub
parent 9f71cfd113
commit d0b3334e34
+1 -1
View File
@@ -384,7 +384,7 @@ if not Config.OxInventory then
RegisterNetEvent('esx:createMissingPickups')
AddEventHandler('esx:createMissingPickups', function(missingPickups)
for pickupId, pickup in pairs(missingPickups) do
TriggerEvent('esx:createPickup', pickupId, pickup.label, pickup.coords - vector3(0, 0, 1.0), pickup.type, pickup.name
TriggerEvent('esx:createPickup', pickupId, pickup.label, vector3(pickup.coords.x, pickup.coords.y, pickup.coords.z - 1.0), pickup.type, pickup.name
, pickup.components, pickup.tintIndex)
end
end)