{"hash":"0x63AE1A34","ns":"CFX","name":"SET_VEHICLE_FLAG","slug":"SET_VEHICLE_FLAG","official":true,"named":true,"luaName":"SetVehicleFlag","game":"cfx","apiset":"client","returnType":"bool","params":[{"name":"vehicle","type":"Vehicle","description":"The vehicle to set flag for."},{"name":"flagIndex","type":"int","description":"Flag index."},{"name":"value","type":"bool","description":"`true` to enable the flag, `false` to disable it."}],"summary":"This native is a setter for GET_VEHICLE_HAS_FLAG.","descriptions":[{"source":"cfx","format":"md","body":"This native is a setter for [`GET_VEHICLE_HAS_FLAG`](#\\_0xD85C9F57)."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_FLAG","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_FLAG.md","snippets":{"lua":"local retval = SetVehicleFlag(vehicle, flagIndex, value)","luaInvoke":"local retval = Citizen.InvokeNative(0x63ae1a34, vehicle, flagIndex, value, Citizen.ReturnResultAnyway())","js":"const retval = SetVehicleFlag(vehicle, flagIndex, value);","jsInvoke":"const retval = Citizen.invokeNative('0x63ae1a34', vehicle, flagIndex, value, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x63ae1a34, vehicle, flagIndex, value);","notes":[]}}