{"hash":"0x1BFBAFCC6760FF02","ns":"VEHICLE","name":"_SET_RANDOM_TRAINS_WHISTLE_ENABLED","slug":"_SET_RANDOM_TRAINS_WHISTLE_ENABLED","official":false,"named":true,"luaName":"SetRandomTrainsWhistleEnabled","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"train","type":"Vehicle"},{"name":"enabled","type":"BOOL"}],"summary":"Enables/disables the whistle on a specific train entity.","descriptions":[{"source":"alloc8or","format":"text","body":"Enables/disables the whistle on a specific train entity."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_SET_RANDOM_TRAINS_WHISTLE_ENABLED","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_SET_RANDOM_TRAINS_WHISTLE_ENABLED.md","snippets":{"lua":"SetRandomTrainsWhistleEnabled(train, enabled)","luaInvoke":"Citizen.InvokeNative(0x1BFBAFCC6760FF02, train, enabled)","js":"SetRandomTrainsWhistleEnabled(train, enabled);","jsInvoke":"Citizen.invokeNative('0x1BFBAFCC6760FF02', train, enabled);","csharp":"Function.Call((Hash)0x1BFBAFCC6760FF02, train, enabled);","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."]}}