SET_PED_AS_COP
Makes ped act as law enforcement.
Signature
void SET_PED_AS_COP(Ped ped, BOOL toggle); // 0xBB03C38DD3FB7FFD b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | toggle | BOOL |
Facts
| Name | SET_PED_AS_COP |
|---|---|
| Hash | 0xBB03C38DD3FB7FFD |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xBB03C38DD3FB7FFD, -- SET_PED_AS_COP
PlayerPedId(), -- Ped ped
false -- BOOL toggle
)Citizen.invokeNative("0xBB03C38DD3FB7FFD", // SET_PED_AS_COP
PlayerPedId(), // Ped ped
false // BOOL toggle
);Function.Call((Hash)0xBB03C38DD3FB7FFD, // SET_PED_AS_COP
API.PlayerPedId(), // Ped ped
false // BOOL toggle
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.