Skip to content

Bottom Dollar Bounties: Aircraft carrier

Indra edited this page Aug 11, 2024 · 1 revision

Getting the main object to interact with the interior:

SummerCarrier = exports['bob74_ipl']:GetSummerCarrierObject()

Coordinates

This ipl can be found at:

X Y Z
-3208.03 3954.54 14.0

Object structure

SummerCarrier
  +-- ipl
  +-- Enable(state)
  +-- LoadDefault()

Enable/Disable

Enable or disable the aircraft carrier:

SummerCarrier.Enable(state)
Parameter Description Valid values
state Enabled or disabled true or false


Default values set by bob74_ipl

LoadDefault = function()
	SummerCarrier.Enable(true)
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
	SummerCarrier = exports['bob74_ipl']:GetSummerCarrierObject()

	-- Disabling the carrier
	HeistCarrier.Enable(false)
end)
Clone this wiki locally