{"hash":"0x920C2517","ns":"CFX","name":"SET_VEHICLE_BODY_HEALTH","slug":"SET_VEHICLE_BODY_HEALTH","official":true,"named":true,"luaName":"SetVehicleBodyHealth","game":"cfx","apiset":"server","returnType":"void","params":[{"name":"vehicle","type":"Vehicle"},{"name":"value","type":"float"}],"summary":"p2 often set to 1000.0 in the decompiled scripts.","descriptions":[{"source":"cfx","format":"md","body":"```\np2 often set to 1000.0 in the decompiled scripts.\n```\n\n**This is the server-side RPC native equivalent of the client native [SET_VEHICLE_BODY_HEALTH](?\\_0xB77D05AC8C78AADB).**"}],"examples":[],"aliases":[],"enums":[],"related":["0x2B2FCC28"],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_BODY_HEALTH","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_BODY_HEALTH.md","snippets":{"lua":"SetVehicleBodyHealth(vehicle, value)","luaInvoke":"Citizen.InvokeNative(0x920c2517, vehicle, value)","js":"SetVehicleBodyHealth(vehicle, value);","jsInvoke":"Citizen.invokeNative('0x920c2517', vehicle, value + 0.0000001);","csharp":"Function.Call((Hash)0x920c2517, vehicle, value);","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."]}}