Game codeUnofficial name
POPULATION::_ADD_AMBIENT_AVOIDANCE_RESTRICTION
0x6B1BD1794A92BE59 ·RVA 0x044FBCE0
Signature
void _ADD_AMBIENT_AVOIDANCE_RESTRICTION(
Volume volume,
int includeFlags,
int excludeFlags,
Hash p3,
Hash p4,
Hash p5,
int p6,
Any p7
);
Parameters 8
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Volume | volume |
– |
| 1 | int | includeFlags |
– |
| 2 | int | excludeFlags |
– |
| 3 | Hash | p3 |
– |
| 4 | Hash | p4 |
– |
| 5 | Hash | p5 |
– |
| 6 | int | p6 |
– |
| 7 | Any | p7 |
the game doesn't read it. |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p7 is not in RDR3's signature; the game reads it as nothing (it is ignored), and the game doesn't read it.
- This lines up with RDR3's signature in more than one way; it takes the one that keeps RDR3's arguments first and puts the new ones after them.
Call it
// POPULATION::_ADD_AMBIENT_AVOIDANCE_RESTRICTION
invoke<Void>(0x6B1BD1794A92BE59, volume, includeFlags, excludeFlags, p3, p4, p5, p6, p7);// POPULATION::_ADD_AMBIENT_AVOIDANCE_RESTRICTION
Function.Call((Hash)0x6B1BD1794A92BE59, volume, includeFlags, excludeFlags, p3, p4, p5, p6, p7);-- POPULATION::_ADD_AMBIENT_AVOIDANCE_RESTRICTION
Citizen.InvokeNative(0x6B1BD1794A92BE59, volume, includeFlags, excludeFlags, p3, p4, p5, p6, p7)// POPULATION::_ADD_AMBIENT_AVOIDANCE_RESTRICTION
Citizen.invokeNative("0x6B1BD1794A92BE59", volume, includeFlags, excludeFlags, p3, p4, p5, p6, p7);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.