pg_ambient_campfire03x_tent_trap
pg_ambient_campfire03x_tent_trap is a RedM propset: a group of 27 props placed together in one call. Its hash is 0x825F51F1 (-2107682319 as a signed integer). Request it, wait for it to load, then create it at a position.
Hash and facts
| Name | pg_ambient_campfire03x_tent_trap |
|---|---|
| Hash (hex) | 0x825F51F1 |
| Signed | -2107682319 |
| Unsigned | 2187284977 |
| Objects | 27 |
Objects in this propset
- p_cs_rag01x
- p_leantopine01x
- p_ambfloorrug05x
- p_kindlingpile01x
- p_shoppeltbuffalo01x
- p_apronground01x
- p_baghang01x
- p_jacket01x
- p_basketcreel01x
- p_gourdwater01x
- p_ambpack04x
- p_ambforage03x
- p_ambforage02x
- p_ambforage01x
- p_ambcordfresh01x
- p_ambropeloop01x
- p_ropewall_cs02x
- p_jar04x
- p_apple01x
- p_ambcorddried01x
- p_ambfloorrug02x
- p_lanternhang01x
- p_lanternstick09x
- s_inv_baitherb01x
- p_bedrollclosed01x
- p_trap02x
- p_trap05x
Spawn it
local propset = 0x825F51F1 -- pg_ambient_campfire03x_tent_trap
Citizen.InvokeNative(0xF3DE57A46D5585E9, propset) -- _REQUEST_PROP_SET
while not Citizen.InvokeNative(0x48A88FC684C55FDC, propset) do Wait(0) end -- _HAS_PROP_SET_LOADED
local coords = GetEntityCoords(PlayerPedId(), true, true)
local set = Citizen.InvokeNative(0xE65C5CBA95F0E510, propset, -- _CREATE_PROP_SET
coords.x, coords.y + 3.0, coords.z, 0, 0.0, 1200.0, false, true, Citizen.ResultAsInteger())
Citizen.InvokeNative(0xB1964A83B345B4AB, propset) -- _RELEASE_PROP_SETconst Delay = (ms) => new Promise((r) => setTimeout(r, ms))
const f = (n) => n + 0.0000001 // whole JS numbers are sent as integers
async function spawnPropset() {
const propset = -2107682319 // 0x825F51F1, pg_ambient_campfire03x_tent_trap
Citizen.invokeNative("0xF3DE57A46D5585E9", propset) // _REQUEST_PROP_SET
while (!Citizen.invokeNative("0x48A88FC684C55FDC", propset)) await Delay(0) // _HAS_PROP_SET_LOADED
const [x, y, z] = GetEntityCoords(PlayerPedId(), true, true)
const set = Citizen.invokeNative("0xE65C5CBA95F0E510", propset, // _CREATE_PROP_SET
f(x), f(y + 3), f(z), 0, f(0), f(1200), false, true, Citizen.resultAsInteger())
Citizen.invokeNative("0xB1964A83B345B4AB", propset) // _RELEASE_PROP_SET
return set
}// using CitizenFX.Core; using CitizenFX.Core.Native;
public async Task<int> SpawnPropset()
{
uint propset = 0x825F51F1; // pg_ambient_campfire03x_tent_trap
Function.Call((Hash)0xF3DE57A46D5585E9, propset); // _REQUEST_PROP_SET
while (!Function.Call<bool>((Hash)0x48A88FC684C55FDC, propset)) // _HAS_PROP_SET_LOADED
await BaseScript.Delay(0);
int ped = Function.Call<int>((Hash)0x096275889B8E0EE0); // PLAYER_PED_ID
Vector3 pos = Function.Call<Vector3>((Hash)0xA86D5F069399F44D, ped, true, true); // GET_ENTITY_COORDS
int set = Function.Call<int>((Hash)0xE65C5CBA95F0E510, propset, // _CREATE_PROP_SET
pos.X, pos.Y + 3f, pos.Z, 0, 0f, 1200f, false, true);
Function.Call((Hash)0xB1964A83B345B4AB, propset); // _RELEASE_PROP_SET
return set;
}Related propsets
- pg_ambient_campfire03x_tent
- pg_ambient_campfire03x_test
- pg_ambient_campfire03x
- pg_ambient_campfire01x_tent
- pg_ambient_campfire02x_tent
- pg_ambient_campfire04x_tent
- pg_ambient_campfire05x_tent
- pg_ambient_campfire01ax
- pg_ambient_campfire01bx
- pg_ambient_campfire01x
- pg_ambient_campfire02x
- pg_ambient_campfire02x_stools
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.