_SET_GUARD_ZONE_VOLUME_THREAT
Assigns volume as the threat area of the guard zone name, where guards treat intruders as hostile.
Signature
void _SET_GUARD_ZONE_VOLUME_THREAT(const char* name, Volume volume); // 0xA1B0E6301E2E02A6 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | name | const char* |
| 2 | volume | Volume |
Facts
| Name | _SET_GUARD_ZONE_VOLUME_THREAT |
|---|---|
| Hash | 0xA1B0E6301E2E02A6 |
| 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(0xA1B0E6301E2E02A6, -- _SET_GUARD_ZONE_VOLUME_THREAT
"text", -- const char* name
0 -- Volume volume
)Citizen.invokeNative("0xA1B0E6301E2E02A6", // _SET_GUARD_ZONE_VOLUME_THREAT
"text", // const char* name
0 // Volume volume
);Function.Call((Hash)0xA1B0E6301E2E02A6, // _SET_GUARD_ZONE_VOLUME_THREAT
"text", // const char* name
0 // Volume volume
);Related LAW natives
- _SET_GUARD_ZONE_VOLUME_REGISTRATION_END
- _SET_GUARD_ZONE_VOLUME_REGISTRATION_START
- _SET_GUARD_ZONE_VOLUME_RESTRICTED
- _SET_GUARD_ZONE_VOLUME_WARNING
- _SET_GUARD_ZONE_POSITION
- _SET_GUARD_ZONE_POSITION_2
- _SET_LAW_RBS_VOLUME
- _CREATE_GUARD_ZONE
- _CREATE_GUARD_ZONE_FOR_ENTITY
- _DISABLE_GUARD_ZONE
- _REMOVE_GUARD_ZONE
- _SET_ALLOW_DISABLED_LAW_RESPONSES
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.