_SET_PED_LAW_BEHAVIOUR
Based on its name and signature, here is our best reading:
Sets a law behaviour mode on ped; the possible values of behaviour are not well documented.
Signature
void _SET_PED_LAW_BEHAVIOUR(Ped ped, int behaviour); // 0x819ADD5EF1742F47 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | behaviour | int |
Facts
| Name | _SET_PED_LAW_BEHAVIOUR |
|---|---|
| Hash | 0x819ADD5EF1742F47 |
| 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(0x819ADD5EF1742F47, -- _SET_PED_LAW_BEHAVIOUR
PlayerPedId(), -- Ped ped
0 -- int behaviour
)Citizen.invokeNative("0x819ADD5EF1742F47", // _SET_PED_LAW_BEHAVIOUR
PlayerPedId(), // Ped ped
0 // int behaviour
);Function.Call((Hash)0x819ADD5EF1742F47, // _SET_PED_LAW_BEHAVIOUR
API.PlayerPedId(), // Ped ped
0 // int behaviour
);Related LAW natives
- _SET_ALLOW_DISABLED_LAW_RESPONSES
- _SET_CANT_LOSE_LAW_THIS_RESPONSE
- _SET_CUSTOM_LAW_DISPATCH_RESPONSE
- _SET_LAW_DISABLED
- _SET_LAW_RBS_VOLUME
- _SET_LAW_REGION
- SET_LAW_SENSE_RANGE_MODIFIER
- _SET_BOUNTY_HUNTER_GLOBAL_COOLDOWN
- _SET_BOUNTY_HUNTER_PURSUIT_CLEARED
- _SET_DISPATCH_MULTIPLIER_OVERRIDE
- _SET_GUARD_ZONE_POSITION
- _SET_GUARD_ZONE_POSITION_2
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.