_SET_TRAIN_DESTRUCTION_ENABLED
Enables/disables damage/explosion flags on the engine and all attached cars; typically set true before EXPLODE_VEHICLE.
VEHICLEBuild 1207
Signature
lua
SetTrainDestructionEnabled(GetVehiclePedIsIn(PlayerPedId(), false), true)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Vehicle | — | |
| BOOL | — |
Usage
lua
SetTrainDestructionEnabled(GetVehiclePedIsIn(PlayerPedId(), false), true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
