GTA V: UFO - Bob74/bob74_ipl GitHub Wiki
Getting the main object to interact with the interior:
UFO = exports['bob74_ipl']:GetUFOObject()
Coordinates
This interior can be found at:
X | Y | Z | |
---|---|---|---|
Hippie | 2490.47729 | 3774.84351 | 2414.035 |
Chiliad | 501.5288 | 5593.865 | 796.2325 |
Zancudo | -2051.99463 | 3237.05835 | 1456.97021 |
Object structure
UFO
+-- Hippie
| +-- ipl
| +-- Enable(state)
+-- Chiliad
| +-- ipl
| +-- Enable(state)
+-- Zancudo
+-- ipl
+-- Enable(state)
Enable/Disable
Enable or disable UFOs:
UFO.Hippie.Enable(state)
UFO.Chiliad.Enable(state)
UFO.Zancudo.Enable(state)
Parameter | Description | Valid values |
---|---|---|
state | Enabled or disabled | true or false |
bob74_ipl
Default values set by UFO.Hippie.Enable(false)
UFO.Chiliad.Enable(false)
UFO.Zancudo.Enable(false)
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
UFO = exports['bob74_ipl']:GetUFOObject()
-- Enable hippies UFO
UFO.Hippie.Enable(true)
-- Disable Chiliad UFO
UFO.Chiliad.Enable(false)
-- Enable Zancudo UFO
UFO.Zancudo.Enable(true)
end)