_STOP_SOUND_WITH_NAME
Hash
0x0F2A2175734926D8Runtime name
StopSoundWithNameNamespaceAUDIO
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _STOP_SOUND_WITH_NAME(const char* audioName, const char* audioRef);Parameters
| Name | Type | Description |
|---|---|---|
audioName | const char* | — |
audioRef | const char* | — |
Returns void
Usage
StopSoundWithName(audioName, audioRef)
-- always works, by hash
Citizen.InvokeNative(0x0F2A2175734926D8, audioName, audioRef)JavaScript and C#
StopSoundWithName(audioName, audioRef);
// by hash
Citizen.invokeNative('0x0F2A2175734926D8', audioName, audioRef);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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.