{"hash":"0xEC9A1261BF0CE510","ns":"PED","name":"_GET_META_PED_TYPE","slug":"_GET_META_PED_TYPE","official":false,"named":true,"luaName":"GetMetaPedType","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"ped","type":"Ped"}],"summary":"MPT_MALE, MPT_FEMALE, MPT_TEEN, MPT_ANIMAL, MPT_NONE","descriptions":[{"source":"alloc8or","format":"text","body":"enum eMetaPedType\n{\n\tMPT_MALE,\n\tMPT_FEMALE,\n\tMPT_TEEN,\n\tMPT_ANIMAL,\n\tMPT_NONE\n};"}],"examples":[],"aliases":[],"enums":["eMetaPedType"],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_GET_META_PED_TYPE","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_GET_META_PED_TYPE.md","snippets":{"lua":"local retval = GetMetaPedType(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0xEC9A1261BF0CE510, ped, Citizen.ResultAsInteger())","js":"const retval = GetMetaPedType(ped);","jsInvoke":"const retval = Citizen.invokeNative('0xEC9A1261BF0CE510', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xEC9A1261BF0CE510, ped);","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."]}}