{"hash":"0x01021EB2E96B793C","ns":"VEHICLE","name":"SET_TRAIN_CRUISE_SPEED","slug":"SET_TRAIN_CRUISE_SPEED","official":true,"named":true,"luaName":"SetTrainCruiseSpeed","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"train","type":"Vehicle"},{"name":"speed","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x16469284DB8C62B5","gtaJhash":"0xB507F51D","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/VEHICLE/SET_TRAIN_CRUISE_SPEED","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/SET_TRAIN_CRUISE_SPEED.md","snippets":{"lua":"SetTrainCruiseSpeed(train, speed)","luaInvoke":"Citizen.InvokeNative(0x01021EB2E96B793C, train, speed)","js":"SetTrainCruiseSpeed(train, speed);","jsInvoke":"Citizen.invokeNative('0x01021EB2E96B793C', train, speed + 0.0000001);","csharp":"Function.Call((Hash)0x01021EB2E96B793C, train, speed);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}