RedM Natives

_BREAK_LOCKS_ON_VEHICLE

Instantly pops/destroys breakable lock objects attached to the vehicle and swings open the corresponding doors or compartments.

Hash0x9D12796EF4BF9EA9
Runtime nameBreakLocksOnVehicle
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_BREAK_OFF_VEHICLE_PADLOCK

Signature

void _BREAK_LOCKS_ON_VEHICLE(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns void

Description

alloc8or RDR3 NativeDB

Instantly pops/destroys breakable lock objects attached to the vehicle and swings open the corresponding doors or compartments.

VORPCORE RDR3natives

Breaks off the padlock of a vehicle if the vehicle contains the closed compartment to be looted

Usage

Lua
BreakLocksOnVehicle(vehicle)

-- always works, by hash
Citizen.InvokeNative(0x9D12796EF4BF9EA9, vehicle)
JavaScript and C#
JavaScript
BreakLocksOnVehicle(vehicle);

// by hash
Citizen.invokeNative('0x9D12796EF4BF9EA9', vehicle);
C#
Function.Call((Hash)0x9D12796EF4BF9EA9, vehicle);
  • 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.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.