Native referenceRedM

DOES_CONTEXT_EXIST_FOR_THIS_PED

0x49B99BF3FDA89A7A AUDIO
FUNCTION SIGNATURE
BOOL DOES_CONTEXT_EXIST_FOR_THIS_PED(Ped ped, char* speechName, BOOL allowBackupPVGs);
Property Value
Native Name DOES_CONTEXT_EXIST_FOR_THIS_PED
Hash 0x49B99BF3FDA89A7A
Return Type BOOL
Build 1207
Parameters ped (Ped), speechName (char*), allowBackupPVGs (BOOL)

Description: Checks if the context exists for the ped, searching through the voices in its PedVoiceGroup.

The final argument can be set to true to allow searching in backup PVGs

Usage

Lua (Direct):

local result = DoesContextExistForThisPed(ped, speechName, allowBackupPVGs)

Lua (Hash):

local result = Citizen.InvokeNative(0x49B99BF3FDA89A7A, ped, speechName, allowBackupPVGs)
Back to AUDIO