The Lab
VEHICLE native

_GET_BREAKABLE_VEHICLE_LOCK_OBJECT

returns Object2 paramsbuild 1207

Returns the breakable lock object at index on vehicle.

Signature

C
Object _GET_BREAKABLE_VEHICLE_LOCK_OBJECT(Vehicle vehicle, int index); // 0x58F2244C1286D09A b1207

Parameters

#NameType
1vehicleVehicle
2indexint

Facts

Facts about _GET_BREAKABLE_VEHICLE_LOCK_OBJECT
Name
_GET_BREAKABLE_VEHICLE_LOCK_OBJECT
Hash
0x58F2244C1286D09A
Namespace
Returns
Object
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local objectOut = Citizen.InvokeNative(0x58F2244C1286D09A, -- _GET_BREAKABLE_VEHICLE_LOCK_OBJECT
  0, -- Vehicle vehicle
  0, -- int index
  Citizen.ResultAsInteger()
)
print(objectOut)
JavaScript
const objectOut = Citizen.invokeNative("0x58F2244C1286D09A", // _GET_BREAKABLE_VEHICLE_LOCK_OBJECT
  0, // Vehicle vehicle
  0, // int index
  Citizen.resultAsInteger()
);
console.log(objectOut)
C#
int objectOut = Function.Call<int>((Hash)0x58F2244C1286D09A, // _GET_BREAKABLE_VEHICLE_LOCK_OBJECT
  0, // Vehicle vehicle
  0 // int index
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.