The Lab
AUDIO native

SET_IS_SCRIPTED_SPEECH_DISABLED

returns Any2 paramsbuild 1207

Disables or enables scripted speech for ped.

Signature

C
Any SET_IS_SCRIPTED_SPEECH_DISABLED(Ped ped, BOOL disabled); // 0xB2DE3AEBE31150E2 b1207

Parameters

#NameType
1pedPed
2disabledBOOL

Facts

Facts about SET_IS_SCRIPTED_SPEECH_DISABLED
Name
SET_IS_SCRIPTED_SPEECH_DISABLED
Hash
0xB2DE3AEBE31150E2
Namespace
Returns
Any
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xB2DE3AEBE31150E2, -- SET_IS_SCRIPTED_SPEECH_DISABLED
  PlayerPedId(), -- Ped ped
  false, -- BOOL disabled
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xB2DE3AEBE31150E2", // SET_IS_SCRIPTED_SPEECH_DISABLED
  PlayerPedId(), // Ped ped
  false, // BOOL disabled
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0xB2DE3AEBE31150E2, // SET_IS_SCRIPTED_SPEECH_DISABLED
  API.PlayerPedId(), // Ped ped
  false // BOOL disabled
);
All AUDIO natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.