The Lab
TASK native

_ASSOCIATE_PROP_WITH_SCENARIO

returns BOOL4 paramsbuild 1207

Associates the prop entity with the scenario point scenario under the name propName. Returns true on success.

Signature

C
BOOL _ASSOCIATE_PROP_WITH_SCENARIO(int scenario, Entity entity, const char* propName, BOOL p3); // 0x8360C47380B6F351 b1207

Parameters

#NameType
1scenarioint
2entityEntity
3propNameconst char*
4p3BOOL

Facts

Facts about _ASSOCIATE_PROP_WITH_SCENARIO
Name
_ASSOCIATE_PROP_WITH_SCENARIO
Hash
0x8360C47380B6F351
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x8360C47380B6F351, -- _ASSOCIATE_PROP_WITH_SCENARIO
  0, -- int scenario
  PlayerPedId(), -- Entity entity
  "text", -- const char* propName
  false -- BOOL p3
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x8360C47380B6F351", // _ASSOCIATE_PROP_WITH_SCENARIO
  0, // int scenario
  PlayerPedId(), // Entity entity
  "text", // const char* propName
  false, // BOOL p3
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x8360C47380B6F351, // _ASSOCIATE_PROP_WITH_SCENARIO
  0, // int scenario
  API.PlayerPedId(), // Entity entity
  "text", // const char* propName
  false // BOOL p3
);
All TASK natives

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