RedM Natives

_STOP_SOUND_WITH_NAME

Hash0x0F2A2175734926D8
Runtime nameStopSoundWithName
NamespaceAUDIO
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _STOP_SOUND_WITH_NAME(const char* audioName, const char* audioRef);

Parameters

NameTypeDescription
audioNameconst char*—
audioRefconst char*—

Returns void

Usage

Lua
StopSoundWithName(audioName, audioRef)

-- always works, by hash
Citizen.InvokeNative(0x0F2A2175734926D8, audioName, audioRef)
JavaScript and C#
JavaScript
StopSoundWithName(audioName, audioRef);

// by hash
Citizen.invokeNative('0x0F2A2175734926D8', audioName, audioRef);
C#
Function.Call((Hash)0x0F2A2175734926D8, audioName, audioRef);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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