{"hash":"0x33FA048675821DA7","ns":"PED","name":"_GET_IS_PED_MOTIVATION_STATE_ENABLED","slug":"_GET_IS_PED_MOTIVATION_STATE_ENABLED","official":false,"named":true,"luaName":"GetIsPedMotivationStateEnabled","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"motivationState","type":"int"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"motivationState: see _SET_PED_MOTIVATION"}],"examples":[],"aliases":[],"enums":["PedMotivationState"],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_GET_IS_PED_MOTIVATION_STATE_ENABLED","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_GET_IS_PED_MOTIVATION_STATE_ENABLED.md","snippets":{"lua":"local retval = GetIsPedMotivationStateEnabled(ped, motivationState)","luaInvoke":"local retval = Citizen.InvokeNative(0x33FA048675821DA7, ped, motivationState, Citizen.ReturnResultAnyway())","js":"const retval = GetIsPedMotivationStateEnabled(ped, motivationState);","jsInvoke":"const retval = Citizen.invokeNative('0x33FA048675821DA7', ped, motivationState, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x33FA048675821DA7, ped, motivationState);","notes":["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."]}}