PREPARE_SOUNDSET
Hash
0xD9130842D7226045Runtime name
PrepareSoundsetNamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL PREPARE_SOUNDSET(const char* soundsetName, BOOL p1);Parameters
| Name | Type | Description |
|---|---|---|
soundsetName | const char* | — |
p1 | BOOL | — |
Returns BOOL
Description
https://github.com/femga/rdr3_discoveries/tree/master/audio/soundsets
Usage
local retval = PrepareSoundset(soundsetName, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0xD9130842D7226045, soundsetName, p1, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = PrepareSoundset(soundsetName, p1);
// by hash
const retval = Citizen.invokeNative('0xD9130842D7226045', soundsetName, p1, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xD9130842D7226045, soundsetName, p1);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.