{"hash":"0xF6E3D38869D0F7AD","ns":"VEHICLE","name":"_SET_CARGO_COMPARTMENT_OPEN","slug":"_SET_CARGO_COMPARTMENT_OPEN","official":false,"named":true,"luaName":"SetCargoCompartmentOpen","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"vehicle","type":"Vehicle"}],"summary":"Forces open a vehicle's primary cargo access point, such as dropping a wagon tailgate, opening a built-in lockbox, or revealing a hidden compartment.","descriptions":[{"source":"alloc8or","format":"text","body":"Forces open a vehicle's primary cargo access point, such as dropping a wagon tailgate, opening a built-in lockbox, or revealing a hidden compartment.\nOne-way trigger: calling this again does not close the compartment."},{"source":"vorp","format":"text","body":"Opens the compartment door of a vehicle if it has one, dropping the tailgate, opening a built-in lockbox, or revealing a hidden smuggler compartment"}],"examples":[],"aliases":["_SET_VEHICLE_COMPARTMENT_DOOR_OPEN"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_SET_CARGO_COMPARTMENT_OPEN","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_SET_CARGO_COMPARTMENT_OPEN.md","snippets":{"lua":"SetCargoCompartmentOpen(vehicle)","luaInvoke":"Citizen.InvokeNative(0xF6E3D38869D0F7AD, vehicle)","js":"SetCargoCompartmentOpen(vehicle);","jsInvoke":"Citizen.invokeNative('0xF6E3D38869D0F7AD', vehicle);","csharp":"Function.Call((Hash)0xF6E3D38869D0F7AD, vehicle);","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."]}}