The Lab
AUDIO native

_PLAY_SOUND_FRONTEND_WITH_SOUND_ID

returns void4 paramsbuild 1207

Plays the frontend (non-positional) sound name from soundSet on soundId.

Signature

C
void _PLAY_SOUND_FRONTEND_WITH_SOUND_ID(int soundId, const char* name, const char* soundSet, BOOL p3); // 0xCE5D0FFE83939AF1 b1207

Parameters

#NameType
1soundIdint
2nameconst char*
3soundSetconst char*
4p3BOOL

Facts

Facts about _PLAY_SOUND_FRONTEND_WITH_SOUND_ID
Name
_PLAY_SOUND_FRONTEND_WITH_SOUND_ID
Hash
0xCE5D0FFE83939AF1
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(0xCE5D0FFE83939AF1, -- _PLAY_SOUND_FRONTEND_WITH_SOUND_ID
  0, -- int soundId
  "text", -- const char* name
  "text", -- const char* soundSet
  false -- BOOL p3
)
JavaScript
Citizen.invokeNative("0xCE5D0FFE83939AF1", // _PLAY_SOUND_FRONTEND_WITH_SOUND_ID
  0, // int soundId
  "text", // const char* name
  "text", // const char* soundSet
  false // BOOL p3
);
C#
Function.Call((Hash)0xCE5D0FFE83939AF1, // _PLAY_SOUND_FRONTEND_WITH_SOUND_ID
  0, // int soundId
  "text", // const char* name
  "text", // const char* soundSet
  false // BOOL p3
);
All AUDIO natives

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