blockAllSpeechFromPed
BLOCK_ALL_SPEECH_FROM_PED0xF8AD2EED7C47E8FEThe GTA V native BLOCK_ALL_SPEECH_FROM_PED of the AUDIO namespace, as LS:MP client scripts call it: the global function blockAllSpeechFromPed, in JavaScript and in Lua.
blockAllSpeechFromPed(ped: Ped, p1: boolean, p2: boolean): voidblockAllSpeechFromPed(ped: Ped, p1: boolean, p2: boolean)Usage
JavaScript
blockAllSpeechFromPed(ped, p1, p2);Lua
blockAllSpeechFromPed(ped, p1, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | BOOL | boolean | boolean |
p2 | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Audio AUDIO
- In the game
void BLOCK_ALL_SPEECH_FROM_PED(Ped ped, BOOL p1, BOOL p2)- Hash
0xF8AD2EED7C47E8FE- Introduced
- Game build 1734 legacy numbering