GTA V: Strip club - Bob74/bob74_ipl GitHub Wiki
Getting the main object to interact with the interior:
StripClub = exports['bob74_ipl']:GetStripClubObject()
Coordinates
This interior can be found at:
X | Y | Z |
---|---|---|
99.23 | -1291.95 | 29.27 |
Object structure
StripClub
+-- interiorId
+-- Mess
| +-- mess
| +-- Enable(state)
+-- LoadDefault()
Mess
Enable or disable some interior related details:
StripClub.Mess.Enable(state)
Parameter | Description | Valid values |
---|---|---|
state | Enable or disable Trevor's mess in the office | true or false |
bob74_ipl
Default values set by LoadDefault = function()
StripClub.Mess.Enable(false)
end
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
StripClub = exports['bob74_ipl']:GetStripClubObject()
-- Enable the mess
StripClub.Mess.Enable(true)
end)