{"hash":"0x7C8AA850617651D9","ns":"PED","name":"_GET_PED_SPEECH_RELATIONSHIP","slug":"_GET_PED_SPEECH_RELATIONSHIP","official":false,"named":true,"luaName":"GetPedSpeechRelationship","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"p1","type":"Hash"}],"summary":"Checks weather a speech relationship hash was applied on given ped or not.","descriptions":[{"source":"alloc8or","format":"text","body":"Checks weather a speech relationship hash was applied on given ped or not.\n_GET_PED_G* - _GET_PED_I* (INTERACTION?)"},{"source":"vorp","format":"text","body":"Returns wether `0x1E017404784AA6A3` was applied on the ped.\n some hashs MAR2_RIDE1, MAR2_RIDE1, RBCH1_RIDE1, SAD5_RIDE1"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_GET_PED_SPEECH_RELATIONSHIP","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_GET_PED_SPEECH_RELATIONSHIP.md","snippets":{"lua":"local retval = GetPedSpeechRelationship(ped, p1)","luaInvoke":"local retval = Citizen.InvokeNative(0x7C8AA850617651D9, ped, p1, Citizen.ReturnResultAnyway())","js":"const retval = GetPedSpeechRelationship(ped, p1);","jsInvoke":"const retval = Citizen.invokeNative('0x7C8AA850617651D9', ped, p1, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x7C8AA850617651D9, ped, p1);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}