# OBJECT::_SET_AMBIENT_PICKUP_LIFETIME

- **Hash:** `0xAC9AE68F0A463752`
- **Namespace:** OBJECT
- **Runtime name (Lua/JS):** `SetAmbientPickupLifetime`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/OBJECT/_SET_AMBIENT_PICKUP_LIFETIME

## Signature

```c
void _SET_AMBIENT_PICKUP_LIFETIME(int lifetime);
```

## Parameters

- `lifetime` (`int`)

## Returns

`void`

## Usage

### Lua

```lua
SetAmbientPickupLifetime(lifetime)

-- always available, by hash
Citizen.InvokeNative(0xAC9AE68F0A463752, lifetime)
```

### JavaScript

```js
SetAmbientPickupLifetime(lifetime);

// by hash
Citizen.invokeNative('0xAC9AE68F0A463752', lifetime);
```

### C#

```csharp
Function.Call((Hash)0xAC9AE68F0A463752, lifetime);
```

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