_SET_AMBIENT_PICKUP_LIFETIME
Sets the lifetime of ambient pickups to lifetime.
Signature
void _SET_AMBIENT_PICKUP_LIFETIME(int lifetime); // 0xAC9AE68F0A463752 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | lifetime | int |
Facts
| Name | _SET_AMBIENT_PICKUP_LIFETIME |
|---|---|
| Hash | 0xAC9AE68F0A463752 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xAC9AE68F0A463752, -- _SET_AMBIENT_PICKUP_LIFETIME
0 -- int lifetime
)Citizen.invokeNative("0xAC9AE68F0A463752", // _SET_AMBIENT_PICKUP_LIFETIME
0 // int lifetime
);Function.Call((Hash)0xAC9AE68F0A463752, // _SET_AMBIENT_PICKUP_LIFETIME
0 // int lifetime
);Related OBJECT natives
- _SET_NETWORK_PICKUP_USABLE_FOR_PLAYER
- _SET_PICKUP_COLLECTABLE_ON_MOUNT
- CREATE_AMBIENT_PICKUP
- SET_PICKUP_DO_NOT_AUTO_PLACE_ON_GROUND
- SET_PICKUP_GENERATION_RANGE_MULTIPLIER
- SET_PICKUP_HIDDEN_WHEN_UNCOLLECTABLE
- SET_PICKUP_NOT_LOOTABLE
- SET_PICKUP_PARTICLE_FX_HIGHLIGHT
- SET_PICKUP_PARTICLE_FX_SPAWN
- SET_PICKUP_REGENERATION_TIME
- SET_PICKUP_UNCOLLECTABLE
- SET_TEAM_PICKUP_OBJECT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.