The Lab
AUDIO native

PLAY_SOUND

returns void6 paramsbuild 1207

Plays the sound audioName from the soundset audioRef.

Signature

C
void PLAY_SOUND(const char* audioName, const char* audioRef, BOOL p2, Any p3, BOOL p4, Any p5); // 0x7FF4944CC209192D b1207

Parameters

#NameType
1audioNameconst char*
2audioRefconst char*
3p2BOOL
4p3Any
5p4BOOL
6p5Any

Facts

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