_TRIGGER_TRAIN_WHISTLE
whistleSequence: ACKNOWLEDGE, BACKING_UP, CROSSING, DANGER, MOVING, NEXT_STATION, PASSING, STOPPED p2 = true seems to mute the sound
VEHICLEBuild 1207
Signature
lua
TriggerTrainWhistle(GetVehiclePedIsIn(PlayerPedId(), false), whistleSequence, true, true)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Vehicle | — | |
| char* | — | |
| BOOL | — | |
| BOOL | — |
Usage
lua
TriggerTrainWhistle(GetVehiclePedIsIn(PlayerPedId(), false), whistleSequence, true, true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
