_IS_SCRIPTED_AUDIO_CUSTOM
Hash
0x6DF942C4179BE5ABRuntime name
IsScriptedAudioCustomNamespaceAUDIO
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _IS_SCRIPTED_AUDIO_CUSTOM(Hash item, Hash soundSet);Parameters
| Name | Type | Description |
|---|---|---|
item | Hash | — |
soundSet | Hash | — |
Returns BOOL
Description
item: FUSE, value returned from 0x2E1CDC1FF3B8473E
soundSet: HUD_SHOP_SOUNDSET, COMPANIONS_ROBBERIES_SOUNDSET
Usage
local retval = IsScriptedAudioCustom(item, soundSet)
-- always works, by hash
local retval = Citizen.InvokeNative(0x6DF942C4179BE5AB, item, soundSet, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsScriptedAudioCustom(item, soundSet);
// by hash
const retval = Citizen.invokeNative('0x6DF942C4179BE5AB', item, soundSet, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x6DF942C4179BE5AB, item, soundSet);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - 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.