Skip to content

Commit c867c01

Browse files
authoredAug 22, 2022
Merge pull request #85 from yanpla/main
CreateObject: IsNetwork changed from true to false
2 parents 4d34bfd + 5b7f579 commit c867c01

7 files changed

+12
-12
lines changed
 

‎client/chemicals.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ local function SpawnChemicals()
113113
while not HasModelLoaded(`mw_chemical_barrel`) do
114114
Wait(100)
115115
end
116-
local obj = CreateObject(`mw_chemical_barrel`, chemicalsCoords.x, chemicalsCoords.y, chemicalsCoords.z, true, true, false)
116+
local obj = CreateObject(`mw_chemical_barrel`, chemicalsCoords.x, chemicalsCoords.y, chemicalsCoords.z, false, true, false)
117117
PlaceObjectOnGroundProperly(obj)
118118
FreezeEntityPosition(obj, true)
119119
table.insert(Chemicals, obj)
@@ -342,4 +342,4 @@ CreateThread(function()
342342
inChemicalField = false
343343
end
344344
end)
345-
end)
345+
end)

‎client/coke.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ local function SpawnCocaPlants()
142142
while not HasModelLoaded(`mw_coke_plant`) do
143143
Wait(100)
144144
end
145-
local obj = CreateObject(`mw_coke_plant`, weedCoords.x, weedCoords.y, weedCoords.z, true, true, false)
145+
local obj = CreateObject(`mw_coke_plant`, weedCoords.x, weedCoords.y, weedCoords.z, false, true, false)
146146
PlaceObjectOnGroundProperly(obj)
147147
FreezeEntityPosition(obj, true)
148148
table.insert(CocaPlants, obj)

‎client/heroin.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ local function SpawnPoppyPlants()
6666
while not HasModelLoaded(`prop_plant_01b`) do
6767
Wait(100)
6868
end
69-
local obj = CreateObject(`prop_plant_01b`, heroinCoords.x, heroinCoords.y, heroinCoords.z, true, true, false)
69+
local obj = CreateObject(`prop_plant_01b`, heroinCoords.x, heroinCoords.y, heroinCoords.z, false, true, false)
7070
PlaceObjectOnGroundProperly(obj)
7171
FreezeEntityPosition(obj, true)
7272
table.insert(PoppyPlants, obj)
@@ -191,4 +191,4 @@ CreateThread(function()
191191
inHeroinField = false
192192
end
193193
end)
194-
end)
194+
end)

‎client/hydrochloricacid.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ local function SpawnHydrochloricAcidBarrels()
6767
while not HasModelLoaded(`mw_hydro_barrel`) do
6868
Wait(100)
6969
end
70-
local obj = CreateObject(`mw_hydro_barrel`, weedCoords.x, weedCoords.y, weedCoords.z, true, true, false)
70+
local obj = CreateObject(`mw_hydro_barrel`, weedCoords.x, weedCoords.y, weedCoords.z, false, true, false)
7171
PlaceObjectOnGroundProperly(obj)
7272
FreezeEntityPosition(obj, true)
7373
table.insert(HydrochloricAcidBarrels, obj)
@@ -133,4 +133,4 @@ CreateThread(function()
133133
inhydrochloricField = false
134134
end
135135
end)
136-
end)
136+
end)

‎client/sodiumhydroxide.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ local function SpawnSodiumHydroxideBarrels()
6666
while not HasModelLoaded(`mw_sodium_barrel`) do
6767
Wait(100)
6868
end
69-
local obj = CreateObject(`mw_sodium_barrel`, weedCoords2.x, weedCoords2.y, weedCoords2.z, true, true, false)
69+
local obj = CreateObject(`mw_sodium_barrel`, weedCoords2.x, weedCoords2.y, weedCoords2.z, false, true, false)
7070
PlaceObjectOnGroundProperly(obj)
7171
FreezeEntityPosition(obj, true)
7272
table.insert(SodiumHydroxideBarrels, obj)
@@ -135,4 +135,4 @@ CreateThread(function()
135135
inSodiumFarm = false
136136
end
137137
end)
138-
end)
138+
end)

‎client/sulfuricacid.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ local function SpawnSulfuricAcidBarrels()
6666
while not HasModelLoaded(`mw_sulfuric_barrel`) do
6767
Wait(100)
6868
end
69-
local obj = CreateObject(`mw_sulfuric_barrel`, weedCoords.x, weedCoords.y, weedCoords.z, true, true, false)
69+
local obj = CreateObject(`mw_sulfuric_barrel`, weedCoords.x, weedCoords.y, weedCoords.z, false, true, false)
7070
PlaceObjectOnGroundProperly(obj)
7171
FreezeEntityPosition(obj, true)
7272
table.insert(SulfuricAcidBarrels, obj)
@@ -133,4 +133,4 @@ CreateThread(function()
133133
inSulfuricFarm = false
134134
end
135135
end)
136-
end)
136+
end)

‎client/weed.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ local function SpawnWeedPlants()
6666
while not HasModelLoaded(`mw_weed_plant`) do
6767
Wait(100)
6868
end
69-
local obj = CreateObject(`mw_weed_plant`, weedCoords.x, weedCoords.y, weedCoords.z, true, true, false)
69+
local obj = CreateObject(`mw_weed_plant`, weedCoords.x, weedCoords.y, weedCoords.z, false, true, false)
7070
PlaceObjectOnGroundProperly(obj)
7171
FreezeEntityPosition(obj, true)
7272
table.insert(weedPlants, obj)

0 commit comments

Comments
 (0)