-
Notifications
You must be signed in to change notification settings - Fork 238
Los Santos Drug Wars: Train crash
Indra edited this page Apr 27, 2024
·
2 revisions
Getting the main object to interact with the interior:
DrugWarsTrainCrash = exports['bob74_ipl']:GetDrugWarsTrainCrashObject()
This ipl can be found at:
X | Y | Z |
---|---|---|
2630.595 | 1458.144 | 25.3669 |
DrugWarsTrainCrash
+-- ipl
+-- Enable(state)
Enable or disable the train crash:
DrugWarsTrainCrash.Enable(state)
Parameter | Description | Valid values |
---|---|---|
state | Enabled or disabled |
true or false
|
DrugWarsTrainCrash.Enable(false)
You can handle and customize the interiors in your own resources using the exported functions:
Citizen.CreateThread(function()
-- Getting the object to interact with
DrugWarsTrainCrash = exports['bob74_ipl']:GetDrugWarsTrainCrashObject()
-- Enabling the train crash
DrugWarsTrainCrash.Enable(true)
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