The Lab
TASK native

PLAY_ANIM_ON_RUNNING_SCENARIO

returns void3 paramsbuild 1207

Plays the animation animName from animDict on ped while it stays in its scenario.

Signature

C
void PLAY_ANIM_ON_RUNNING_SCENARIO(Ped ped, const char* animDict, const char* animName); // 0x748040460F8DF5DC b1207

Parameters

#NameType
1pedPed
2animDictconst char*
3animNameconst char*

Facts

Facts about PLAY_ANIM_ON_RUNNING_SCENARIO
Name
PLAY_ANIM_ON_RUNNING_SCENARIO
Hash
0x748040460F8DF5DC
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x748040460F8DF5DC, -- PLAY_ANIM_ON_RUNNING_SCENARIO
  PlayerPedId(), -- Ped ped
  "text", -- const char* animDict
  "text" -- const char* animName
)
JavaScript
Citizen.invokeNative("0x748040460F8DF5DC", // PLAY_ANIM_ON_RUNNING_SCENARIO
  PlayerPedId(), // Ped ped
  "text", // const char* animDict
  "text" // const char* animName
);
C#
Function.Call((Hash)0x748040460F8DF5DC, // PLAY_ANIM_ON_RUNNING_SCENARIO
  API.PlayerPedId(), // Ped ped
  "text", // const char* animDict
  "text" // const char* animName
);
All TASK natives

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