pg_ambcamp01x_tent_shelter_tree_trunk
pg_ambcamp01x_tent_shelter_tree_trunk is a RedM propset: a group of 52 props placed together in one call. Its hash is 0x2A58F1BD (710472125 as a signed integer). Request it, wait for it to load, then create it at a position.
Hash and facts
| Name | pg_ambcamp01x_tent_shelter_tree_trunk |
|---|---|
| Hash (hex) | 0x2A58F1BD |
| Signed | 710472125 |
| Unsigned | 710472125 |
| Objects | 52 |
Objects in this propset
- p_ambtenttrunk01x
- p_mattress04x
- p_chair_crate02x
- p_crate03x
- p_chamberpot02x
- p_basket06x
- p_crate03d
- s_wagonclothesline01x
- p_bucket02x
- p_lantern09x
- p_newspaperroll01x
- p_paperdrafting01b
- p_crate012x
- p_tree_stump_06
- p_paperdrafting01a
- p_basket05x
- p_paper02x
- p_playingcards01x
- p_poster_troub01x_lrg
- p_pictureframe08x
- p_candlepuddle02x
- p_washboard01x
- p_candlepuddle05x
- p_boiler01x
- p_bucket_ladle01a
- p_chemisehanging01x
- p_jar04x
- p_washbasinset01x
- p_matches01x
- p_candlestand
- p_cuptin01x
- p_candlebot01x
- p_bra_mansion_curtain03c
- p_pictureframe20x
- p_pan01newx
- p_washtub02x
- p_baghang01x
- p_ambstake01x
- p_hanger01x
- p_waterbucket01x
- p_ambclothpile01x
- p_cupfancy01x
- p_shelfwall02x
- p_plate16x
- p_basin01x
- p_cookingtools01x
- s_peach01x
- s_oatcakes01x
- p_buysellbox02x
- p_tin_soap01x
- p_waxdrip03x
- p_moundbase3x
Spawn it
local propset = 0x2A58F1BD -- pg_ambcamp01x_tent_shelter_tree_trunk
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 = 710472125 // 0x2A58F1BD, pg_ambcamp01x_tent_shelter_tree_trunk
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 = 0x2A58F1BD; // pg_ambcamp01x_tent_shelter_tree_trunk
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_ambcamp01x_tent_shelter_tree_scaff
- pg_ambcamp01x_tent_shelter_tree_tie01
- pg_ambcamp01x_tent_shelter_tree_tie02
- pg_ambcamp01x_tent_shelter_boat
- pg_ambcamp01x_tent_shelter_build
- pg_ambcamp01x_tent_shelter_cart
- pg_ambcamp01x_tent_shelter_firewood
- pg_ambcamp01x_tent_shelter_scaff
- pg_ambcamp01x_tent_scrub
- pg_ambcamp01x_tent_scrub_lean
- pg_ambcamp01x_tent_snow
- pg_ambcamp01x_tent_snow01
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.