Bottom Dollar Bounties: Aircraft carrier - Bob74/bob74_ipl GitHub Wiki
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 |
bob74_ipl
Default values set by 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)