Installation
Follow these steps to ensure the script works correctly.
Ensure that you have all dependencies and that they start before the origen_ilegal
Copy the origen_ilegal to its resource folder and start it in the server.cfg
Modify the file pma-voice/client/init/main.lua
and insert the following at the end of the file
exports("toggleVoice", toggleVoice)
exports("playerTargets", playerTargets)
Modify the file bob74_ipl/dlc_bikers/weed.lua
, on line 523, replace the entire LoadDefault
function with the following
LoadDefault = function()
BikerWeedFarm.Ipl.Interior.Load()
BikerWeedFarm.Style.Set(BikerWeedFarm.Style.basic)
BikerWeedFarm.Security.Set(BikerWeedFarm.Security.basic)
BikerWeedFarm.Details.Enable(BikerWeedFarm.Details.drying, false)
BikerWeedFarm.Details.Enable(BikerWeedFarm.Details.chairs, true)
BikerWeedFarm.Details.Enable(BikerWeedFarm.Details.production, false)
BikerWeedFarm.Details.Enable(BikerWeedFarm.Details.fans, false)
BikerWeedFarm.Plant1.Clear()
BikerWeedFarm.Plant2.Clear()
BikerWeedFarm.Plant3.Clear()
BikerWeedFarm.Plant4.Clear()
BikerWeedFarm.Plant5.Clear()
BikerWeedFarm.Plant6.Clear()
BikerWeedFarm.Plant7.Clear()
BikerWeedFarm.Plant8.Clear()
BikerWeedFarm.Plant9.Clear()
RefreshInterior(BikerWeedFarm.interiorId)
end
Execute the following query in your database.
Insert the items from the items.lua
file according to your inventory
Ensure that you have all dependencies and that they start before the origen_ilegal
Copy the origen_ilegal to its resource folder and start it in the server.cfg
Modify the file pma-voice/client/init/main.lua
and insert the following at the end of the file
exports("toggleVoice", toggleVoice)
exports("playerTargets", playerTargets)
Modify the file bob74_ipl/dlc_bikers/weed.lua
, on line 523, replace the entire LoadDefault
function with the following
LoadDefault = function()
BikerWeedFarm.Ipl.Interior.Load()
BikerWeedFarm.Style.Set(BikerWeedFarm.Style.basic)
BikerWeedFarm.Security.Set(BikerWeedFarm.Security.basic)
BikerWeedFarm.Details.Enable(BikerWeedFarm.Details.drying, false)
BikerWeedFarm.Details.Enable(BikerWeedFarm.Details.chairs, true)
BikerWeedFarm.Details.Enable(BikerWeedFarm.Details.production, false)
BikerWeedFarm.Details.Enable(BikerWeedFarm.Details.fans, false)
BikerWeedFarm.Plant1.Clear()
BikerWeedFarm.Plant2.Clear()
BikerWeedFarm.Plant3.Clear()
BikerWeedFarm.Plant4.Clear()
BikerWeedFarm.Plant5.Clear()
BikerWeedFarm.Plant6.Clear()
BikerWeedFarm.Plant7.Clear()
BikerWeedFarm.Plant8.Clear()
BikerWeedFarm.Plant9.Clear()
RefreshInterior(BikerWeedFarm.interiorId)
end
Execute the following query in your database.
Insert the items from the items.lua
file according to your inventory