{"hash":"0xCFE122EC635CC2B2","ns":"VEHICLE","name":"_TRIGGER_TRAIN_WHISTLE","slug":"_TRIGGER_TRAIN_WHISTLE","official":false,"named":true,"luaName":"TriggerTrainWhistle","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"train","type":"Vehicle"},{"name":"whistleSequence","type":"const char*"},{"name":"p2","type":"BOOL"},{"name":"p3","type":"BOOL"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"whistleSequence: ACKNOWLEDGE, BACKING_UP, CROSSING, DANGER, MOVING, NEXT_STATION, PASSING, STOPPED\np2 = true seems to mute the sound"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_TRIGGER_TRAIN_WHISTLE","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_TRIGGER_TRAIN_WHISTLE.md","snippets":{"lua":"TriggerTrainWhistle(train, whistleSequence, p2, p3)","luaInvoke":"Citizen.InvokeNative(0xCFE122EC635CC2B2, train, whistleSequence, p2, p3)","js":"TriggerTrainWhistle(train, whistleSequence, p2, p3);","jsInvoke":"Citizen.invokeNative('0xCFE122EC635CC2B2', train, whistleSequence, p2, p3);","csharp":"Function.Call((Hash)0xCFE122EC635CC2B2, train, whistleSequence, p2, p3);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}