Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Commit 4c85074

Browse files
committed
Oopsy Daisy
1 parent 3caeca0 commit 4c85074

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

client/chemicals.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ end
246246

247247
AddEventHandler('onResourceStop', function(resource)
248248
if resource == GetCurrentResourceName() then
249-
for k, v in pairs(Chemicals) do
249+
for _, v in pairs(Chemicals) do
250250
SetEntityAsMissionEntity(v, false, true)
251251
DeleteObject(v)
252252
end

client/coke.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ end
8282
local function ValidateCocaLeafCoord(plantCoord)
8383
local validate = true
8484
if spawnedCocaLeaf > 0 then
85-
for k, v in pairs(CocaPlants) do
85+
for _, v in pairs(CocaPlants) do
8686
if #(plantCoord - GetEntityCoords(v)) < 5 then
8787
validate = false
8888
end

client/heroin.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ local QBCore = exports['qb-core']:GetCoreObject()
66
local function ValidateHeroinCoord(plantCoord)
77
local validate = true
88
if spawnedPoppys > 0 then
9-
for k, v in pairs(PoppyPlants) do
9+
for _, v in pairs(PoppyPlants) do
1010
if #(plantCoord - GetEntityCoords(v)) < 5 then
1111
validate = false
1212
end

client/hydrochloricacid.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ local QBCore = exports['qb-core']:GetCoreObject()
77
local function ValidateHydrochloricAcidCoord(plantCoord)
88
local validate = true
99
if spawnedHydrochloricAcidBarrels > 0 then
10-
for k, v in pairs(HydrochloricAcidBarrels) do
10+
for _, v in pairs(HydrochloricAcidBarrels) do
1111
if #(plantCoord-GetEntityCoords(v)) < 5 then
1212
validate = false
1313
end
@@ -115,7 +115,7 @@ end)
115115

116116
AddEventHandler('onResourceStop', function(resource)
117117
if resource == GetCurrentResourceName() then
118-
for k, v in pairs(HydrochloricAcidBarrels) do
118+
for _, v in pairs(HydrochloricAcidBarrels) do
119119
SetEntityAsMissionEntity(v, false, true)
120120
DeleteObject(v)
121121
end

client/sulfuricacid.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RegisterNetEvent("ps-drugprocessing:pickSulfuric", function()
8383
local nearbyObject, nearbyID
8484

8585
for i=1, #SulfuricAcidBarrels, 1 do
86-
if #(coords - GetEntityCoords(SulfuricAcidBarrels[i])) < 2
86+
if #(coords - GetEntityCoords(SulfuricAcidBarrels[i])) < 2 then
8787
nearbyObject, nearbyID = SulfuricAcidBarrels[i], i
8888
end
8989
end
@@ -115,7 +115,7 @@ end)
115115

116116
AddEventHandler('onResourceStop', function(resource)
117117
if resource == GetCurrentResourceName() then
118-
for k, v in pairs(SulfuricAcidBarrels) do
118+
for _, v in pairs(SulfuricAcidBarrels) do
119119
SetEntityAsMissionEntity(v, false, true)
120120
DeleteObject(v)
121121
end

0 commit comments

Comments
 (0)