RedM Natives

SET_IS_SCRIPTED_SPEECH_DISABLED

Hash0xB2DE3AEBE31150E2
Runtime nameSetIsScriptedSpeechDisabled
NamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207

Signature

Any SET_IS_SCRIPTED_SPEECH_DISABLED(Ped ped, BOOL disabled);

Parameters

NameTypeDescription
pedPed—
disabledBOOL—

Returns Any

Usage

Lua
local retval = SetIsScriptedSpeechDisabled(ped, disabled)

-- always works, by hash
local retval = Citizen.InvokeNative(0xB2DE3AEBE31150E2, ped, disabled, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = SetIsScriptedSpeechDisabled(ped, disabled);

// by hash
const retval = Citizen.invokeNative('0xB2DE3AEBE31150E2', ped, disabled, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xB2DE3AEBE31150E2, ped, disabled);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.