SET_PED_AS_COP
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. toggle = bSetRelGroup
PEDBuild 1207
Signature
lua
SetPedAsCop(PlayerPedId(), true)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| BOOL | — |
Usage
lua
SetPedAsCop(PlayerPedId(), true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
