The Chop Shop: Lifeguard - Bob74/bob74_ipl GitHub Wiki
Getting the main object to interact with the interior:
ChopShopLifeguard = exports['bob74_ipl']:GetChopShopLifeguardObject()
Coordinates
This ipl can be found at:
X | Y | Z |
---|---|---|
-1488.153 | -1021.166 | 5.000 |
Object structure
ChopShopLifeguard
+-- Ipl
| +-- ipl
| +-- Load()
| +-- Remove()
+-- LoadDefault()
Ipls
Loading Ipls related files in game:
ChopShopLifeguard.Ipl.Load()
Removing Ipls from game:
ChopShopLifeguard.Ipl.Remove()
bob74_ipl
Default values set by LoadDefault = function()
ChopShopLifeguard.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
ChopShopLifeguard = exports['bob74_ipl']:GetChopShopLifeguardObject()
-- Removing the lifeguard extras
ChopShopLifeguard.Ipl.Remove()
end)