From the reference libraryRedM

AUDIO Natives - Part 3 of 5

natives/AUDIO/AUDIO_natives_part3.md

AUDIO Natives - Part 3 of 5

Red Dead Redemption 3 Native Functions Reference

Namespace: AUDIO
Natives in this file: 50
Total natives in namespace: 221
Generated from: RDR3natives JSON data


_0x295859EB18F48D82

Property Value
Native Name _0x295859EB18F48D82
Hash 0x295859EB18F48D82
Return Type int
Build 1207
Parameters p0 (const char*)

Parameters

  • p0 (const char*)

Usage

Lua (Direct):

local result = _0x295859EB18F48D82(p0)

Lua (Hash):

local result = Citizen.InvokeNative(0x295859EB18F48D82, p0)

_0x2B101AD9F651243A

Property Value
Native Name _0x2B101AD9F651243A
Hash 0x2B101AD9F651243A
Return Type Any
Build 1207
Parameters None

Usage

Lua (Direct):

local result = _0x2B101AD9F651243A()

Lua (Hash):

local result = Citizen.InvokeNative(0x2B101AD9F651243A, )

_0x2B9C37C01BF25EDB

Property Value
Native Name _0x2B9C37C01BF25EDB
Hash 0x2B9C37C01BF25EDB
Return Type Any
Build 1207
Parameters p0 (Any)

Parameters

  • p0 (Any)

Usage

Lua (Direct):

local result = _0x2B9C37C01BF25EDB(p0)

Lua (Hash):

local result = Citizen.InvokeNative(0x2B9C37C01BF25EDB, p0)

_0x2FFF4A78384AFFDF

Property Value
Native Name _0x2FFF4A78384AFFDF
Hash 0x2FFF4A78384AFFDF
Return Type Any
Build 1436
Parameters entity (Entity)

Parameters

  • entity (Entity)

Usage

Lua (Direct):

local result = _0x2FFF4A78384AFFDF(entity)

Lua (Hash):

local result = Citizen.InvokeNative(0x2FFF4A78384AFFDF, entity)

_0x341CDD17EFC2472E

Property Value
Native Name _0x341CDD17EFC2472E
Hash 0x341CDD17EFC2472E
Return Type void
Build 1207
Parameters p0 (Any), p1 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)

Usage

Lua (Direct):

_0x341CDD17EFC2472E(p0, p1)

Lua (Hash):

Citizen.InvokeNative(0x341CDD17EFC2472E, p0, p1)

_0x35B8C070E0C16E2F

Property Value
Native Name _0x35B8C070E0C16E2F
Hash 0x35B8C070E0C16E2F
Return Type void
Build 1207
Parameters p0 (Any), p1 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)

Usage

Lua (Direct):

_0x35B8C070E0C16E2F(p0, p1)

Lua (Hash):

Citizen.InvokeNative(0x35B8C070E0C16E2F, p0, p1)

_0x380A2E353AD30917

Property Value
Native Name _0x380A2E353AD30917
Hash 0x380A2E353AD30917
Return Type void
Build 1207
Parameters p0 (Any), p1 (Any), p2 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)
  • p2 (Any)

Usage

Lua (Direct):

_0x380A2E353AD30917(p0, p1, p2)

Lua (Hash):

Citizen.InvokeNative(0x380A2E353AD30917, p0, p1, p2)

_0x3A00D87B20A2A5E4

Property Value
Native Name _0x3A00D87B20A2A5E4
Hash 0x3A00D87B20A2A5E4
Return Type void
Build 1207
Parameters p0 (Any), p1 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)

Usage

Lua (Direct):

_0x3A00D87B20A2A5E4(p0, p1)

Lua (Hash):

Citizen.InvokeNative(0x3A00D87B20A2A5E4, p0, p1)

_0x3A3BE6B920525237

Property Value
Native Name _0x3A3BE6B920525237
Hash 0x3A3BE6B920525237
Return Type void
Build 1207
Parameters p0 (Any), p1 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)

Usage

Lua (Direct):

_0x3A3BE6B920525237(p0, p1)

Lua (Hash):

Citizen.InvokeNative(0x3A3BE6B920525237, p0, p1)

_0x3D0BBCCF401B5FDB

Property Value
Native Name _0x3D0BBCCF401B5FDB
Hash 0x3D0BBCCF401B5FDB
Return Type void
Build 1207
Parameters None

Usage

Lua (Direct):

_0x3D0BBCCF401B5FDB()

Lua (Hash):

Citizen.InvokeNative(0x3D0BBCCF401B5FDB, )

_0x3E93DDDCBB6111E4

Property Value
Native Name _0x3E93DDDCBB6111E4
Hash 0x3E93DDDCBB6111E4
Return Type void
Build 1207
Parameters p0 (const char*), p1 (float)

Parameters

  • p0 (const char*)
  • p1 (float)

Usage

Lua (Direct):

_0x3E93DDDCBB6111E4(p0, p1)

Lua (Hash):

Citizen.InvokeNative(0x3E93DDDCBB6111E4, p0, p1)

_0x3E98AC9D8C56C62C

Property Value
Native Name _0x3E98AC9D8C56C62C
Hash 0x3E98AC9D8C56C62C
Return Type void
Build 1207
Parameters p0 (Any)

Parameters

  • p0 (Any)

Usage

Lua (Direct):

_0x3E98AC9D8C56C62C(p0)

Lua (Hash):

Citizen.InvokeNative(0x3E98AC9D8C56C62C, p0)

_0x40CA665AB9D8D505

Property Value
Native Name _0x40CA665AB9D8D505
Hash 0x40CA665AB9D8D505
Return Type void
Build 1207
Parameters convoRoot (const char*), singleLineIndex (int)

Parameters

  • convoRoot (const char*)
  • singleLineIndex (int)

Usage

Lua (Direct):

_0x40CA665AB9D8D505(convoRoot, singleLineIndex)

Lua (Hash):

Citizen.InvokeNative(0x40CA665AB9D8D505, convoRoot, singleLineIndex)

_0x43037ABFE214A851

Property Value
Native Name _0x43037ABFE214A851
Hash 0x43037ABFE214A851
Return Type void
Build 1207
Parameters None

Usage

Lua (Direct):

_0x43037ABFE214A851()

Lua (Hash):

Citizen.InvokeNative(0x43037ABFE214A851, )

_0x448F2647DD6F2E27

Property Value
Native Name _0x448F2647DD6F2E27
Hash 0x448F2647DD6F2E27
Return Type void
Build 1232
Parameters ped (Ped), hash (Hash), p2 (int), gestureAnim (char*), p4 (int)

Description: _SET_PED_PLAY_GESTURE_ANIMS? p2 seems to be a flag string used example AI_GESTURES@INSTRUMENTS@FIDDLE@STANDING@MALE@NORMAL

Usage

Lua (Direct):

_0x448F2647DD6F2E27(ped, hash, p2, gestureAnim, p4)

Lua (Hash):

Citizen.InvokeNative(0x448F2647DD6F2E27, ped, hash, p2, gestureAnim, p4)

_0x44A5EEF54F62E823

Property Value
Native Name _0x44A5EEF54F62E823
Hash 0x44A5EEF54F62E823
Return Type Any
Build 1207
Parameters p0 (Any)

Parameters

  • p0 (Any)

Usage

Lua (Direct):

local result = _0x44A5EEF54F62E823(p0)

Lua (Hash):

local result = Citizen.InvokeNative(0x44A5EEF54F62E823, p0)

_0x4BE3EC91C01F0FE8

Property Value
Native Name _0x4BE3EC91C01F0FE8
Hash 0x4BE3EC91C01F0FE8
Return Type void
Build 1207
Parameters None

Usage

Lua (Direct):

_0x4BE3EC91C01F0FE8()

Lua (Hash):

Citizen.InvokeNative(0x4BE3EC91C01F0FE8, )

_0x569ABC36E28DDEAA

Property Value
Native Name _0x569ABC36E28DDEAA
Hash 0x569ABC36E28DDEAA
Return Type void
Build 1207
Parameters None

Usage

Lua (Direct):

_0x569ABC36E28DDEAA()

Lua (Hash):

Citizen.InvokeNative(0x569ABC36E28DDEAA, )

_0x580D71DFE0088E34

Description: _IS_SOUND_RUNNING(?)

Property Value
Native Name _0x580D71DFE0088E34
Hash 0x580D71DFE0088E34
Return Type BOOL
Build 1207
Parameters audioName (const char*), audioRef (const char*)

Parameters

  • audioName (const char*)
  • audioRef (const char*)

Usage

Lua (Direct):

local result = _0x580D71DFE0088E34(audioName, audioRef)

Lua (Hash):

local result = Citizen.InvokeNative(0x580D71DFE0088E34, audioName, audioRef)

_0x5A13586A9447931F

Property Value
Native Name _0x5A13586A9447931F
Hash 0x5A13586A9447931F
Return Type BOOL
Build 1207
Parameters p0 (BOOL)

Parameters

  • p0 (BOOL)

Usage

Lua (Direct):

local result = _0x5A13586A9447931F(p0)

Lua (Hash):

local result = Citizen.InvokeNative(0x5A13586A9447931F, p0)

_0x5AE0CB5F35F034FD

Property Value
Native Name _0x5AE0CB5F35F034FD
Hash 0x5AE0CB5F35F034FD
Return Type void
Build 1207
Parameters p0 (Any), p1 (Any), p2 (Any), p3 (Any), p4 (Any), p5 (Any), p6 (Any), p7 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)
  • p2 (Any)
  • p3 (Any)
  • p4 (Any)
  • p5 (Any)
  • p6 (Any)
  • p7 (Any)

Usage

Lua (Direct):

_0x5AE0CB5F35F034FD(p0, p1, p2, p3, p4, p5, p6, p7)

Lua (Hash):

Citizen.InvokeNative(0x5AE0CB5F35F034FD, p0, p1, p2, p3, p4, p5, p6, p7)

_0x5BC885EBD75FAA7D

Property Value
Native Name _0x5BC885EBD75FAA7D
Hash 0x5BC885EBD75FAA7D
Return Type void
Build 1207
Parameters p0 (Any), p1 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)

Usage

Lua (Direct):

_0x5BC885EBD75FAA7D(p0, p1)

Lua (Hash):

Citizen.InvokeNative(0x5BC885EBD75FAA7D, p0, p1)

_0x5E3CCF03995388B5

Property Value
Native Name _0x5E3CCF03995388B5
Hash 0x5E3CCF03995388B5
Return Type void
Build 1207
Parameters p0 (Any), p1 (Any), p2 (Any), p3 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)
  • p2 (Any)
  • p3 (Any)

Usage

Lua (Direct):

_0x5E3CCF03995388B5(p0, p1, p2, p3)

Lua (Hash):

Citizen.InvokeNative(0x5E3CCF03995388B5, p0, p1, p2, p3)

_0x62377977E4F08668

Property Value
Native Name _0x62377977E4F08668
Hash 0x62377977E4F08668
Return Type AnimScene
Build 1436
Parameters entity (Entity)

Parameters

  • entity (Entity)

Usage

Lua (Direct):

local result = _0x62377977E4F08668(entity)

Lua (Hash):

local result = Citizen.InvokeNative(0x62377977E4F08668, entity)

_0x64B956F4E761DF5C

Property Value
Native Name _0x64B956F4E761DF5C
Hash 0x64B956F4E761DF5C
Return Type void
Build 1207
Parameters p0 (Any)

Parameters

  • p0 (Any)

Usage

Lua (Direct):

_0x64B956F4E761DF5C(p0)

Lua (Hash):

Citizen.InvokeNative(0x64B956F4E761DF5C, p0)

_0x6652B0C8F3D414D0

Property Value
Native Name _0x6652B0C8F3D414D0
Hash 0x6652B0C8F3D414D0
Return Type void
Build 1207
Parameters p0 (Any)

Parameters

  • p0 (Any)

Usage

Lua (Direct):

_0x6652B0C8F3D414D0(p0)

Lua (Hash):

Citizen.InvokeNative(0x6652B0C8F3D414D0, p0)

_0x6AB944DF68B512D3

Description: STOP_AUDIO*

Property Value
Native Name _0x6AB944DF68B512D3
Hash 0x6AB944DF68B512D3
Return Type void
Build 1207
Parameters p0 (Any)

Parameters

  • p0 (Any)

Usage

Lua (Direct):

_0x6AB944DF68B512D3(p0)

Lua (Hash):

Citizen.InvokeNative(0x6AB944DF68B512D3, p0)

_0x6B7A88A61B41E589

Property Value
Native Name _0x6B7A88A61B41E589
Hash 0x6B7A88A61B41E589
Return Type void
Build 1207
Parameters p0 (Any)

Parameters

  • p0 (Any)

Usage

Lua (Direct):

_0x6B7A88A61B41E589(p0)

Lua (Hash):

Citizen.InvokeNative(0x6B7A88A61B41E589, p0)

_GET_LAST_PLAYED_SPEECH_FOR_PED

Description: Gets the hash for the last played speech line.

Property Value
Native Name _GET_LAST_PLAYED_SPEECH_FOR_PED
Hash 0x6BFFB7C276866996
Return Type Hash
API Set client
Build 1207
Parameters ped (Ped)

Parameters

  • ped (Ped)

Usage

Lua (Direct):

local result = GetLastPlayedSpeechForPed(ped)

Lua (Hash):

local result = Citizen.InvokeNative(0x6BFFB7C276866996, ped)

_0x6DA15746D5CC1A92

Property Value
Native Name _0x6DA15746D5CC1A92
Hash 0x6DA15746D5CC1A92
Return Type void
Build 1207
Parameters p0 (Any), p1 (Any), p2 (Any), p3 (Any), p4 (Any), p5 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)
  • p2 (Any)
  • p3 (Any)
  • p4 (Any)
  • p5 (Any)

Usage

Lua (Direct):

_0x6DA15746D5CC1A92(p0, p1, p2, p3, p4, p5)

Lua (Hash):

Citizen.InvokeNative(0x6DA15746D5CC1A92, p0, p1, p2, p3, p4, p5)

_0x7455CD705F7E933E

Description: AUDIO_IS* - _AUDIO_TRIGGER*

Property Value
Native Name _0x7455CD705F7E933E
Hash 0x7455CD705F7E933E
Return Type void
Build 1207
Parameters None

Usage

Lua (Direct):

_0x7455CD705F7E933E()

Lua (Hash):

Citizen.InvokeNative(0x7455CD705F7E933E, )

_0x7678FE0455ED1145

Property Value
Native Name _0x7678FE0455ED1145
Hash 0x7678FE0455ED1145
Return Type Any
Build 1207
Parameters p0 (Any), p1 (Any), p2 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)
  • p2 (Any)

Usage

Lua (Direct):

local result = _0x7678FE0455ED1145(p0, p1, p2)

Lua (Hash):

local result = Citizen.InvokeNative(0x7678FE0455ED1145, p0, p1, p2)

_0x79F9C57B8D0DFE90

Description: Only used in R* SP Script cv_mus_shared

Property Value
Native Name _0x79F9C57B8D0DFE90
Hash 0x79F9C57B8D0DFE90
Return Type BOOL
Build 1207
Parameters convoRoot (const char*), animScene (AnimScene)

Parameters

  • convoRoot (const char*)
  • animScene (AnimScene)

Usage

Lua (Direct):

local result = _0x79F9C57B8D0DFE90(convoRoot, animScene)

Lua (Hash):

local result = Citizen.InvokeNative(0x79F9C57B8D0DFE90, convoRoot, animScene)

_0x7E176C676F8652A9

Property Value
Native Name _0x7E176C676F8652A9
Hash 0x7E176C676F8652A9
Return Type void
Build 1207
Parameters p0 (Any)

Parameters

  • p0 (Any)

Usage

Lua (Direct):

_0x7E176C676F8652A9(p0)

Lua (Hash):

Citizen.InvokeNative(0x7E176C676F8652A9, p0)

_0x821C32C728B24477

Property Value
Native Name _0x821C32C728B24477
Hash 0x821C32C728B24477
Return Type void
Build 1207
Parameters p0 (Any), p1 (Any), p2 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)
  • p2 (Any)

Usage

Lua (Direct):

_0x821C32C728B24477(p0, p1, p2)

Lua (Hash):

Citizen.InvokeNative(0x821C32C728B24477, p0, p1, p2)

_0x839C9F124BE74D94

Property Value
Native Name _0x839C9F124BE74D94
Hash 0x839C9F124BE74D94
Return Type void
Build 1207
Parameters p0 (Any), p1 (Any), p2 (Any), p3 (Any), p4 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)
  • p2 (Any)
  • p3 (Any)
  • p4 (Any)

Usage

Lua (Direct):

_0x839C9F124BE74D94(p0, p1, p2, p3, p4)

Lua (Hash):

Citizen.InvokeNative(0x839C9F124BE74D94, p0, p1, p2, p3, p4)

_0x847748AE5D7B1071

Property Value
Native Name _0x847748AE5D7B1071
Hash 0x847748AE5D7B1071
Return Type BOOL
Build 1207
Parameters p0 (BOOL)

Parameters

  • p0 (BOOL)

Usage

Lua (Direct):

local result = _0x847748AE5D7B1071(p0)

Lua (Hash):

local result = Citizen.InvokeNative(0x847748AE5D7B1071, p0)

_0x864A842B86993851

Description: Not implemented.

Property Value
Native Name _0x864A842B86993851
Hash 0x864A842B86993851
Return Type void
Build 1207
Parameters ped (Ped)

Parameters

  • ped (Ped)

Usage

Lua (Direct):

_0x864A842B86993851(ped)

Lua (Hash):

Citizen.InvokeNative(0x864A842B86993851, ped)

_0x886657C5B3D8EDE3

Property Value
Native Name _0x886657C5B3D8EDE3
Hash 0x886657C5B3D8EDE3
Return Type int
Build 1232
Parameters ped (Ped)

Description: seems to return a duration to be used in 0x139A4B9DF2D26CBF

Usage

Lua (Direct):

local result = _0x886657C5B3D8EDE3(ped)

Lua (Hash):

local result = Citizen.InvokeNative(0x886657C5B3D8EDE3, ped)

_0x8D29FDF565DED9AE

Property Value
Native Name _0x8D29FDF565DED9AE
Hash 0x8D29FDF565DED9AE
Return Type void
Build 1232
Parameters p0 (Any), p1 (Any), p2 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)
  • p2 (Any)

Usage

Lua (Direct):

_0x8D29FDF565DED9AE(p0, p1, p2)

Lua (Hash):

Citizen.InvokeNative(0x8D29FDF565DED9AE, p0, p1, p2)

_0x8E901B65206C2D3E

Property Value
Native Name _0x8E901B65206C2D3E
Hash 0x8E901B65206C2D3E
Return Type void
Build 1207
Parameters ped (Ped)

Parameters

  • ped (Ped)

Usage

Lua (Direct):

_0x8E901B65206C2D3E(ped)

Lua (Hash):

Citizen.InvokeNative(0x8E901B65206C2D3E, ped)

_0x935DBD96D4A3DA1F

Property Value
Native Name _0x935DBD96D4A3DA1F
Hash 0x935DBD96D4A3DA1F
Return Type int
Build 1207
Parameters p0 (const char*), currentScriptedConvoLine (int)

Parameters

  • p0 (const char*)
  • currentScriptedConvoLine (int)

Usage

Lua (Direct):

local result = _0x935DBD96D4A3DA1F(p0, currentScriptedConvoLine)

Lua (Hash):

local result = Citizen.InvokeNative(0x935DBD96D4A3DA1F, p0, currentScriptedConvoLine)

_0x9EB779765E68C52E

Property Value
Native Name _0x9EB779765E68C52E
Hash 0x9EB779765E68C52E
Return Type void
Build 1207
Parameters p0 (Any), p1 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)

Usage

Lua (Direct):

_0x9EB779765E68C52E(p0, p1)

Lua (Hash):

Citizen.InvokeNative(0x9EB779765E68C52E, p0, p1)

_0xA2323A2EAE32A290

Property Value
Native Name _0xA2323A2EAE32A290
Hash 0xA2323A2EAE32A290
Return Type void
Build 1207
Parameters listeningToPed (Ped), ped (Ped), listenerName (const char*)

Parameters

  • listeningToPed (Ped)
  • ped (Ped)
  • listenerName (const char*)

Usage

Lua (Direct):

_0xA2323A2EAE32A290(listeningToPed, ped, listenerName)

Lua (Hash):

Citizen.InvokeNative(0xA2323A2EAE32A290, listeningToPed, ped, listenerName)

_0xA2B851605748AD0E

Property Value
Native Name _0xA2B851605748AD0E
Hash 0xA2B851605748AD0E
Return Type void
Build 1207
Parameters None

Usage

Lua (Direct):

_0xA2B851605748AD0E()

Lua (Hash):

Citizen.InvokeNative(0xA2B851605748AD0E, )

_0xA6847BBA4FCDD13F

Property Value
Native Name _0xA6847BBA4FCDD13F
Hash 0xA6847BBA4FCDD13F
Return Type void
Build 1207
Parameters p0 (Any), p1 (Any)

Parameters

  • p0 (Any)
  • p1 (Any)

Usage

Lua (Direct):

_0xA6847BBA4FCDD13F(p0, p1)

Lua (Hash):

Citizen.InvokeNative(0xA6847BBA4FCDD13F, p0, p1)

End of AUDIO natives part 3

_0x4A98E228A936DBCC

Property Value
Native Name _0x4A98E228A936DBCC
Hash 0x4A98E228A936DBCC
Return Type Hash
Build 1207
API Set client
Parameters ped (Ped)

Description: Gets the hash for the currently playing speech line.

Usage

Lua (Direct):

local result = _0x4A98E228A936DBCC(ped)

Lua (Hash):

local result = Citizen.InvokeNative(0x4A98E228A936DBCC, ped)

_0x660A8F876DF1D4F8

Property Value
Native Name _0x660A8F876DF1D4F8
Hash 0x660A8F876DF1D4F8
Return Type void
Build 1207
API Set client
Parameters speechEventType (int)

Description: speechEventType: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/naSpeechEventType SKIP_* - START_*

Usage

Lua (Direct):

_0x660A8F876DF1D4F8(speechEventType)

Lua (Hash):

Citizen.InvokeNative(0x660A8F876DF1D4F8, speechEventType)

_CREATE_NEW_SCRIPTED_SPEECH

Property Value
Native Name _CREATE_NEW_SCRIPTED_SPEECH
Hash 0x72E4D1C4639BC465
Return Type int
Build 1207
API Set client
Parameters ped (Ped), params (Any)

Description: Create a scripted speech to control speech. If handle is less than 0, it's invalid. params struct for ScriptedSpeechParams see: PLAY_PED_AMBIENT_SPEECH_NATIVE Returns scriptedSpeech handle.

Usage

Lua (Direct):

local result = CreateNewScriptedSpeech(ped, params)

Lua (Hash):

local result = Citizen.InvokeNative(0x72E4D1C4639BC465, ped, params)

_0x9D6DEC9791A4E501

Property Value
Native Name _0x9D6DEC9791A4E501
Hash 0x9D6DEC9791A4E501
Return Type BOOL
Build 1207
API Set client
Parameters ped (Ped), speechName (char*), p2 (BOOL), p3 (BOOL)

Description: Returns true or false if the ped can say a specific speech line with PLAY_PED_AMBIENT_SPEECH_NATIVE, similar to DOES_CONTEXT_EXIST_FOR_THIS_PED. Not reliable on remote clients when used on a player ped. Params: p2 and p3 are usually false and true, respectively.

Usage

Lua (Direct):

local result = _0x9D6DEC9791A4E501(ped, speechName, p2, p3)

Lua (Hash):

local result = Citizen.InvokeNative(0x9D6DEC9791A4E501, ped, speechName, p2, p3)
Back to documentation