The Lab
PROPSET native

_CREATE_PROP_SET_INSTANCE_ATTACHED_TO_ENTITY_2

returns PropSet9 paramsbuild 1207

Based on its name and signature, here is our best reading:

Appears to be an alternative variant that creates a prop set instance attached to an entity. Exact differences from the main version are not documented.

Signature

C
PropSet _CREATE_PROP_SET_INSTANCE_ATTACHED_TO_ENTITY_2(Hash hash, float x, float y, float z, Entity entity, float p5, BOOL p6, int p7, BOOL p8); // 0xACA7FB30269096D4 b1207

Parameters

#NameType
1hashHash
2xfloat
3yfloat
4zfloat
5entityEntity
6p5float
7p6BOOL
8p7int
9p8BOOL

Facts

Facts about _CREATE_PROP_SET_INSTANCE_ATTACHED_TO_ENTITY_2
Name
_CREATE_PROP_SET_INSTANCE_ATTACHED_TO_ENTITY_2
Hash
0xACA7FB30269096D4
Namespace
Returns
PropSet
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local propSet = Citizen.InvokeNative(0xACA7FB30269096D4, -- _CREATE_PROP_SET_INSTANCE_ATTACHED_TO_ENTITY_2
  GetHashKey("name"), -- Hash hash
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  PlayerPedId(), -- Entity entity
  0.0, -- float p5
  false, -- BOOL p6
  0, -- int p7
  false, -- BOOL p8
  Citizen.ResultAsInteger()
)
print(propSet)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const propSet = Citizen.invokeNative("0xACA7FB30269096D4", // _CREATE_PROP_SET_INSTANCE_ATTACHED_TO_ENTITY_2
  GetHashKey("name"), // Hash hash
  0.0, // float x
  0.0, // float y
  0.0, // float z
  PlayerPedId(), // Entity entity
  0.0, // float p5
  false, // BOOL p6
  0, // int p7
  false, // BOOL p8
  Citizen.resultAsInteger()
);
console.log(propSet)
C#
int propSet = Function.Call<int>((Hash)0xACA7FB30269096D4, // _CREATE_PROP_SET_INSTANCE_ATTACHED_TO_ENTITY_2
  (uint)API.GetHashKey("name"), // Hash hash
  0.0f, // float x
  0.0f, // float y
  0.0f, // float z
  API.PlayerPedId(), // Entity entity
  0.0f, // float p5
  false, // BOOL p6
  0, // int p7
  false // BOOL p8
);
All PROPSET natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.