_GET_NUM_BREAKABLE_VEHICLE_LOCK_OBJECTS
Hash
0x2FA86833E3617E2DRuntime name
GetNumBreakableVehicleLockObjectsNamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _GET_NUM_BREAKABLE_VEHICLE_LOCK_OBJECTS(Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
Returns int
Usage
local retval = GetNumBreakableVehicleLockObjects(vehicle)
-- always works, by hash
local retval = Citizen.InvokeNative(0x2FA86833E3617E2D, vehicle, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetNumBreakableVehicleLockObjects(vehicle);
// by hash
const retval = Citizen.invokeNative('0x2FA86833E3617E2D', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x2FA86833E3617E2D, 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
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.