{"hash":"0xB285AD0EC870B2DF","ns":"PED","name":"_SET_PED_ACTIVE_PLAYER_TYPE","slug":"_SET_PED_ACTIVE_PLAYER_TYPE","official":false,"named":true,"luaName":"SetPedActivePlayerType","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"playerType","type":"Hash"}],"summary":"_SET_PED_(A-D)*","descriptions":[{"source":"alloc8or","format":"text","body":"Params: hash - ARTHUR or JOHN\n_SET_PED_(A-D)*"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_SET_PED_ACTIVE_PLAYER_TYPE","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_SET_PED_ACTIVE_PLAYER_TYPE.md","snippets":{"lua":"SetPedActivePlayerType(ped, playerType)","luaInvoke":"Citizen.InvokeNative(0xB285AD0EC870B2DF, ped, playerType)","js":"SetPedActivePlayerType(ped, playerType);","jsInvoke":"Citizen.invokeNative('0xB285AD0EC870B2DF', ped, playerType);","csharp":"Function.Call((Hash)0xB285AD0EC870B2DF, ped, playerType);","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."]}}