The Lab
ANIMSCENE native

_DOES_ENTITY_WITH_ID_EXIST_IN_ANIM_SCENE

returns BOOL2 paramsbuild 1207

Returns true if animScene defines an entity slot with the id entityId.

Signature

C
BOOL _DOES_ENTITY_WITH_ID_EXIST_IN_ANIM_SCENE(AnimScene animScene, const char* entityId); // 0x6F1F0B17109309DA b1207

Parameters

#NameType
1animSceneAnimScene
2entityIdconst char*

Facts

Facts about _DOES_ENTITY_WITH_ID_EXIST_IN_ANIM_SCENE
Name
_DOES_ENTITY_WITH_ID_EXIST_IN_ANIM_SCENE
Hash
0x6F1F0B17109309DA
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(0x6F1F0B17109309DA, -- _DOES_ENTITY_WITH_ID_EXIST_IN_ANIM_SCENE
  0, -- AnimScene animScene
  "text" -- const char* entityId
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x6F1F0B17109309DA", // _DOES_ENTITY_WITH_ID_EXIST_IN_ANIM_SCENE
  0, // AnimScene animScene
  "text", // const char* entityId
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x6F1F0B17109309DA, // _DOES_ENTITY_WITH_ID_EXIST_IN_ANIM_SCENE
  0, // AnimScene animScene
  "text" // const char* entityId
);
All ANIMSCENE natives

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