GTA V: Bahama Mamas - Bob74/bob74_ipl GitHub Wiki
Getting the main object to interact with the interior:
BahamaMamas = exports['bob74_ipl']:GetBahamaMamasObject()
Coordinates
This ipl can be found at:
X | Y | Z |
---|---|---|
-1388.0013 | -618.41967 | 30.819599 |
Object structure
BahamaMamas
+-- ipl
+-- Enable(state)
Enable/Disable
Enable or disable the Bahama Mamas:
BahamaMamas.Enable(state)
Parameter | Description | Valid values |
---|---|---|
state | Enabled or disabled | true or false |
bob74_ipl
Default values set by BahamaMamas.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
BahamaMamas= exports['bob74_ipl']:GetBahamaMamasObject()
-- Disabling Bahama Mamas
BahamaMamas.Enable(false)
end)