The Chop Shop: Cargo ship - Bob74/bob74_ipl GitHub Wiki
Getting the main object to interact with the interior:
ChopShopCargoShip = exports['bob74_ipl']:GetChopShopCargoShipObject()
Coordinates
This ipl can be found at:
X | Y | Z |
---|---|---|
-344.4349 | -4062.832 | 17.000 |
Object structure
ChopShopCargoShip
+-- Ipl
| +-- ipl
| +-- Load()
| +-- Remove()
+-- LoadDefault()
Ipls
Loading Ipls related files in game:
ChopShopCargoShip.Ipl.Load()
Removing Ipls from game:
ChopShopCargoShip.Ipl.Remove()
bob74_ipl
Default values set by LoadDefault = function()
ChopShopCargoShip.Ipl.Load()
end
Example: How to use in your own resources
You can handle and customize the interiors in your own resources using the exported functions:
Citizen.CreateThread(function()
-- Getting the object to interact with
ChopShopCargoShip = exports['bob74_ipl']:GetChopShopCargoShipObject()
-- Removing the cargo ship
ChopShopCargoShip.Ipl.Remove()
end)