-
Notifications
You must be signed in to change notification settings - Fork 236
Gunrunning: Yacht
Bob74 edited this page Oct 20, 2019
·
2 revisions
Getting the main object to interact with the interior:
GunrunningYacht = exports['bob74_ipl']:GetGunrunningYachtObject()
This ipl can be found at:
X | Y | Z |
---|---|---|
-1363.724 | 6734.108 | 2.44598 |
GunrunningYacht
+-- ipl
+-- Enable(state)
+-- Water
| +-- Enable
Enable or disable the yacht:
GunrunningYacht.Enable(state)
Parameter | Description | Valid values |
---|---|---|
state | Enabled or disabled |
true or false
|
Enable or disable the water inside the yacht hot tub:
GunrunningYacht.Water.Enable(state)
Parameter | Description | Valid values |
---|---|---|
state | Enabled or disabled |
true or false
|
GunrunningYacht.Enable(true)
You can handle and customize the interiors in your own resources using the exported functions:
Citizen.CreateThread(function()
-- Getting the object to interact with
GunrunningYacht = exports['bob74_ipl']:GetGunrunningYachtObject()
-- Disabling the yacht
GunrunningYacht.Enable(false)
end)
- Home
- GTA V
- GTA Online
- DLC: High life
- DLC: Heists
- DLC: Executives & Other Criminals
- DLC: Finance & Felony
- DLC: Bikers
- DLC: Import/Export
- DLC: Gunrunning
- DLC: Smuggler's Run
- DLC: The Doomsday Heist
- DLC: After Hours
- DLC: Los Santos Drug Wars
- DLC: San Andreas Mercenaries
- DLC: The Chop Shop
- DLC: Bottom Dollar Bounties