SET_IS_SCRIPTED_SPEECH_DISABLED
Hash
0xB2DE3AEBE31150E2Runtime name
SetIsScriptedSpeechDisabledNamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
Signature
Any SET_IS_SCRIPTED_SPEECH_DISABLED(Ped ped, BOOL disabled);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
disabled | BOOL | — |
Returns Any
Usage
local retval = SetIsScriptedSpeechDisabled(ped, disabled)
-- always works, by hash
local retval = Citizen.InvokeNative(0xB2DE3AEBE31150E2, ped, disabled, Citizen.ResultAsInteger())JavaScript and C#
const retval = SetIsScriptedSpeechDisabled(ped, disabled);
// by hash
const retval = Citizen.invokeNative('0xB2DE3AEBE31150E2', ped, disabled, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xB2DE3AEBE31150E2, ped, disabled);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.