{"hash":"0xBB03C38DD3FB7FFD","ns":"PED","name":"SET_PED_AS_COP","slug":"SET_PED_AS_COP","official":true,"named":true,"luaName":"SetPedAsCop","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"toggle","type":"BOOL"}],"summary":"Turns the desired ped into a cop.","descriptions":[{"source":"alloc8or","format":"text","body":"Turns the desired ped into a cop. If you use this on the player ped, you will become almost invisible to cops dispatched for you. You will also report your own crimes, get a generic cop voice, get a cop-vision-cone on the radar, and you will be unable to shoot at other cops. Toggling ped as \"false\" has no effect; you must change p0's ped model to disable the effect.\ntoggle = bSetRelGroup"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xBB03C38DD3FB7FFD","gtaJhash":"0x84E7DE9F","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/SET_PED_AS_COP","markdownUrl":"https://natives.borderlinerp.com/natives/PED/SET_PED_AS_COP.md","snippets":{"lua":"SetPedAsCop(ped, toggle)","luaInvoke":"Citizen.InvokeNative(0xBB03C38DD3FB7FFD, ped, toggle)","js":"SetPedAsCop(ped, toggle);","jsInvoke":"Citizen.invokeNative('0xBB03C38DD3FB7FFD', ped, toggle);","csharp":"Function.Call((Hash)0xBB03C38DD3FB7FFD, ped, toggle);","notes":[]}}