_BREAK_LOCKS_ON_VEHICLE
Instantly pops/destroys breakable lock objects attached to the vehicle and swings open the corresponding doors or compartments.
Hash
0x9D12796EF4BF9EA9Runtime name
BreakLocksOnVehicleNamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207
Also known as
_BREAK_OFF_VEHICLE_PADLOCKSignature
void _BREAK_LOCKS_ON_VEHICLE(Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
Returns void
Description
Instantly pops/destroys breakable lock objects attached to the vehicle and swings open the corresponding doors or compartments.
Breaks off the padlock of a vehicle if the vehicle contains the closed compartment to be looted
Usage
BreakLocksOnVehicle(vehicle)
-- always works, by hash
Citizen.InvokeNative(0x9D12796EF4BF9EA9, vehicle)JavaScript and C#
BreakLocksOnVehicle(vehicle);
// by hash
Citizen.invokeNative('0x9D12796EF4BF9EA9', vehicle);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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.