{"hash":"0xB8B6430EAD2D2437","ns":"PED","name":"_SET_PED_PERSONALITY","slug":"_SET_PED_PERSONALITY","official":false,"named":true,"luaName":"SetPedPersonality","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"personality","type":"Hash"}],"summary":"Personalities can also be found in common:/data/ai/interactionpersonalities","descriptions":[{"source":"alloc8or","format":"text","body":"Hashes: STANDARD_PED_AGRO_GUARD, BOUNTY_HUNTER, PLAYER_HORSE, LAW_POLICE, GUARD_DOG, ATTACK_DOG\nPersonalities can also be found in common:/data/ai/interactionpersonalities"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_SET_PED_PERSONALITY","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_SET_PED_PERSONALITY.md","snippets":{"lua":"SetPedPersonality(ped, personality)","luaInvoke":"Citizen.InvokeNative(0xB8B6430EAD2D2437, ped, personality)","js":"SetPedPersonality(ped, personality);","jsInvoke":"Citizen.invokeNative('0xB8B6430EAD2D2437', ped, personality);","csharp":"Function.Call((Hash)0xB8B6430EAD2D2437, ped, personality);","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."]}}