Skip to content

Heists: Aircraft carrier

Bob74 edited this page Nov 4, 2018 · 3 revisions

Getting the main object to interact with the interior:

HeistCarrier = exports['bob74_ipl']:GetHeistCarrierObject()

Coordinates

This ipl can be found at:

X Y Z
3082.3117 -4717.1191 15.2622

Object structure

HeistCarrier
  +-- ipl
  +-- Enable(state)

Enable/Disable

Enable or disable the aircraft carrier:

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

Default values set by bob74_ipl

HeistCarrier.Enable(true)

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
    HeistCarrier = exports['bob74_ipl']:GetHeistCarrierObject()

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