Skip to content

The Chop Shop: Lifeguard

Indra edited this page Apr 27, 2024 · 1 revision

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()

Default values set by bob74_ipl

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)
Clone this wiki locally