{"hash":"0x6AB2918EE3BEC94C","ns":"VEHICLE","name":"SET_VEHICLE_PETROL_TANK_HEALTH","slug":"SET_VEHICLE_PETROL_TANK_HEALTH","official":true,"named":true,"luaName":"SetVehiclePetrolTankHealth","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"vehicle","type":"Vehicle"},{"name":"health","type":"float"}],"summary":"1000 is max health","descriptions":[{"source":"alloc8or","format":"text","body":"1000 is max health"}],"examples":[],"aliases":[],"enums":[],"related":["0x1E5A9B356D5098BE"],"build":"1207","gtaHash":"0x70DB57649FA8D0D8","gtaJhash":"0x660A3692","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/SET_VEHICLE_PETROL_TANK_HEALTH","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/SET_VEHICLE_PETROL_TANK_HEALTH.md","snippets":{"lua":"SetVehiclePetrolTankHealth(vehicle, health)","luaInvoke":"Citizen.InvokeNative(0x6AB2918EE3BEC94C, vehicle, health)","js":"SetVehiclePetrolTankHealth(vehicle, health);","jsInvoke":"Citizen.invokeNative('0x6AB2918EE3BEC94C', vehicle, health + 0.0000001);","csharp":"Function.Call((Hash)0x6AB2918EE3BEC94C, vehicle, health);","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."]}}