The Lab
AUDIO native

_PLAY_SOUND_FROM_ENTITY_WITH_SET

returns void6 paramsbuild 1207

Plays soundName from soundsetName on soundId, positioned on entity.

Signature

C
void _PLAY_SOUND_FROM_ENTITY_WITH_SET(int soundId, const char* soundName, Entity entity, const char* soundsetName, BOOL p4, Any p5); // 0xF1C5310FEAA36B48 b1207

Parameters

#NameType
1soundIdint
2soundNameconst char*
3entityEntity
4soundsetNameconst char*
5p4BOOL
6p5Any

Facts

Facts about _PLAY_SOUND_FROM_ENTITY_WITH_SET
Name
_PLAY_SOUND_FROM_ENTITY_WITH_SET
Hash
0xF1C5310FEAA36B48
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(0xF1C5310FEAA36B48, -- _PLAY_SOUND_FROM_ENTITY_WITH_SET
  0, -- int soundId
  "text", -- const char* soundName
  PlayerPedId(), -- Entity entity
  "text", -- const char* soundsetName
  false, -- BOOL p4
  0 -- Any p5
)
JavaScript
Citizen.invokeNative("0xF1C5310FEAA36B48", // _PLAY_SOUND_FROM_ENTITY_WITH_SET
  0, // int soundId
  "text", // const char* soundName
  PlayerPedId(), // Entity entity
  "text", // const char* soundsetName
  false, // BOOL p4
  0 // Any p5
);
C#
Function.Call((Hash)0xF1C5310FEAA36B48, // _PLAY_SOUND_FROM_ENTITY_WITH_SET
  0, // int soundId
  "text", // const char* soundName
  API.PlayerPedId(), // Entity entity
  "text", // const char* soundsetName
  false, // BOOL p4
  0 // Any p5
);
All AUDIO natives

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