{"hash":"0x06A09A6E0C6D2A84","ns":"VEHICLE","name":"_SET_TRAIN_REVERSE_ENABLED","slug":"_SET_TRAIN_REVERSE_ENABLED","official":false,"named":true,"luaName":"SetTrainReverseEnabled","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"train","type":"Vehicle"},{"name":"enable","type":"BOOL"}],"summary":"Enables or disables reverse movement for a train.","descriptions":[{"source":"alloc8or","format":"text","body":"Enables or disables reverse movement for a train."},{"source":"vorp","format":"text","body":"true to enable train reversing moving backwards, false to not allow reversing"}],"examples":[],"aliases":["_SET_TRAIN_ENABLE_REVERSING"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_SET_TRAIN_REVERSE_ENABLED","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_SET_TRAIN_REVERSE_ENABLED.md","snippets":{"lua":"SetTrainReverseEnabled(train, enable)","luaInvoke":"Citizen.InvokeNative(0x06A09A6E0C6D2A84, train, enable)","js":"SetTrainReverseEnabled(train, enable);","jsInvoke":"Citizen.invokeNative('0x06A09A6E0C6D2A84', train, enable);","csharp":"Function.Call((Hash)0x06A09A6E0C6D2A84, train, enable);","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."]}}