Merge pull request #1168 from Arctos2win/fix-coords-stuff

update coords stuff
This commit is contained in:
Thekuca
2023-08-21 01:45:23 +02:00
committed by GitHub
+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)