GTA V: Zancudo Gates - Bob74/bob74_ipl GitHub Wiki
Getting the main object to interact with the interior:
ZancudoGates = exports['bob74_ipl']:GetZancudoGatesObject()
Coordinates
This ipl can be found at:
X | Y | Z |
---|---|---|
-1600.301 | 2806.731 | 18.796 |
Object structure
ZancudoGates
+-- Gates
| +-- Open
| +-- Close
+-- LoadDefault()
Gates
Open or close the gates:
ZancudoGates.Gates.Open()
ZancudoGates.Gates.Close()
bob74_ipl
Default values set by LoadDefault = function()
ZancudoGates.Gates.Open()
end
Example: How to use in your own resources
You can handle the gates in your own resources using the exported functions:
Citizen.CreateThread(function()
-- Getting the object to interact with
ZancudoGates = exports['bob74_ipl']:GetZancudoGatesObject()
-- Closes the gates (GTA Online like)
ZancudoGates.Close()
end)