SET_LAW_SENSE_RANGE_MODIFIER
Scales the range at which law enforcement can sense player by range.
Signature
void SET_LAW_SENSE_RANGE_MODIFIER(Player player, float range); // 0xFEC85339AACA2A35 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | range | float |
Facts
| Name | SET_LAW_SENSE_RANGE_MODIFIER |
|---|---|
| Hash | 0xFEC85339AACA2A35 |
| 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(0xFEC85339AACA2A35, -- SET_LAW_SENSE_RANGE_MODIFIER
PlayerId(), -- Player player
0.0 -- float range
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xFEC85339AACA2A35", // SET_LAW_SENSE_RANGE_MODIFIER
PlayerId(), // Player player
0.0 // float range
);Function.Call((Hash)0xFEC85339AACA2A35, // SET_LAW_SENSE_RANGE_MODIFIER
API.PlayerId(), // Player player
0.0f // float range
);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_PED_LAW_BEHAVIOUR
- SET_BOUNTY
- SET_DISABLE_DISTURBANCE_CRIMES
- SET_PLAYER_ARRESTED_IN_REGION
- SET_PLAYER_TURNED_IN_BOUNTY_IN_REGION
- SET_POSTPONE_DISTURBANCE_CRIMES_DURING_COMBAT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.