# TASK::_DELETE_PATCH_OBJECTS_FROM_HERB_COMPOSITES

- **Hash:** `0x5758B1EE0C3FD4AC`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `DeletePatchObjectsFromHerbComposites`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/_DELETE_PATCH_OBJECTS_FROM_HERB_COMPOSITES

## Signature

```c
void _DELETE_PATCH_OBJECTS_FROM_HERB_COMPOSITES(int compositeId, BOOL p1);
```

## Parameters

- `compositeId` (`int`)
- `p1` (`BOOL`)

## Returns

`void`

## Description

Params: p1 is always false except in script nb_egg_protector

## Usage

### Lua

```lua
DeletePatchObjectsFromHerbComposites(compositeId, p1)

-- always available, by hash
Citizen.InvokeNative(0x5758B1EE0C3FD4AC, compositeId, p1)
```

### JavaScript

```js
DeletePatchObjectsFromHerbComposites(compositeId, p1);

// by hash
Citizen.invokeNative('0x5758B1EE0C3FD4AC', compositeId, p1);
```

### C#

```csharp
Function.Call((Hash)0x5758B1EE0C3FD4AC, compositeId, p1);
```

- 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.*
