The Lab
AUDIO native

PLAY_SOUND_FRONTEND

returns void4 paramsbuild 1207

Plays the non-positional UI sound audioName from the soundset audioRef.

Typical for menu clicks and notification sounds.

Signature

C
void PLAY_SOUND_FRONTEND(const char* audioName, const char* audioRef, BOOL p2, Any p3); // 0x67C540AA08E4A6F5 b1207

Parameters

#NameType
1audioNameconst char*
2audioRefconst char*
3p2BOOL
4p3Any

Facts

Facts about PLAY_SOUND_FRONTEND
Name
PLAY_SOUND_FRONTEND
Hash
0x67C540AA08E4A6F5
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(0x67C540AA08E4A6F5, -- PLAY_SOUND_FRONTEND
  "text", -- const char* audioName
  "text", -- const char* audioRef
  false, -- BOOL p2
  0 -- Any p3
)
JavaScript
Citizen.invokeNative("0x67C540AA08E4A6F5", // PLAY_SOUND_FRONTEND
  "text", // const char* audioName
  "text", // const char* audioRef
  false, // BOOL p2
  0 // Any p3
);
C#
Function.Call((Hash)0x67C540AA08E4A6F5, // PLAY_SOUND_FRONTEND
  "text", // const char* audioName
  "text", // const char* audioRef
  false, // BOOL p2
  0 // Any p3
);
All AUDIO natives

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