GTA V: North Yankton - Bob74/bob74_ipl GitHub Wiki
Getting the main object to interact with the interior:
NorthYankton = exports['bob74_ipl']:GetNorthYanktonObject()
Coordinates
This interior can be found at:
X | Y | Z |
---|---|---|
3217.697 | -4834.826 | 111.8152 |
Object structure
NorthYankton
+-- ipl
+-- Grave
| +-- covered
| +-- dug
| +-- funeral
| +-- Set(grave)
| +-- Clear()
+-- Traffic
| +-- Enable(state)
+-- Enable(state)
Grave
Setting the grave style:
NorthYankton.Grave.Set(grave)
Parameter | Description | Valid values |
---|---|---|
grave | Covered grave | NorthYankton.Grave.covered |
Dug grave | NorthYankton.Grave.dug |
|
Prologue funeral grave | NorthYankton.Grave.funeral |
Style
Enables or disable traffic in North Yankton:
NorthYankton.Traffic.Enable(state)
Parameter | Description | Valid values |
---|---|---|
state | Enabled or disabled | true or false |
Enable/Disable
Enable or disable North Yankton map:
NorthYankton.Enable(state)
Parameter | Description | Valid values |
---|---|---|
state | Enabled or disabled | true or false |
bob74_ipl
Default values set by NorthYankton.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
NorthYankton = exports['bob74_ipl']:GetNorthYanktonObject()
-- Enabling North Yankton
NorthYankton.Enable(true)
end)