RedM Natives

PLAY_SOUND

Hash0x7FF4944CC209192D
Runtime namePlaySound
NamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x7FF4944CC209192D

Signature

void PLAY_SOUND(const char* audioName, const char* audioRef, BOOL p2, Any p3, BOOL p4, Any p5);

Parameters

NameTypeDescription
audioNameconst char*—
audioRefconst char*—
p2BOOL—
p3Any—
p4BOOL—
p5Any—

Returns void

Usage

Lua
PlaySound(audioName, audioRef, p2, p3, p4, p5)

-- always works, by hash
Citizen.InvokeNative(0x7FF4944CC209192D, audioName, audioRef, p2, p3, p4, p5)
JavaScript and C#
JavaScript
PlaySound(audioName, audioRef, p2, p3, p4, p5);

// by hash
Citizen.invokeNative('0x7FF4944CC209192D', audioName, audioRef, p2, p3, p4, p5);
C#
Function.Call((Hash)0x7FF4944CC209192D, audioName, audioRef, p2, p3, p4, p5);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.