PREPARE_SOUNDSET
Loads the soundset soundsetName and returns true once it is ready.
Signature
BOOL PREPARE_SOUNDSET(const char* soundsetName, BOOL p1); // 0xD9130842D7226045 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | soundsetName | const char* |
| 2 | p1 | BOOL |
Facts
| Name | PREPARE_SOUNDSET |
|---|---|
| Hash | 0xD9130842D7226045 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xD9130842D7226045, -- PREPARE_SOUNDSET
"text", -- const char* soundsetName
false -- BOOL p1
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xD9130842D7226045", // PREPARE_SOUNDSET
"text", // const char* soundsetName
false, // BOOL p1
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xD9130842D7226045, // PREPARE_SOUNDSET
"text", // const char* soundsetName
false // BOOL p1
);Related AUDIO natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.